The File Uploads feature requires a qualifying plan. Please contact Sales to get started.
The File Uploads feature enables teams to upload files to their Runscope account that can be used to test and monitor endpoints that require
multipart/form-data information, such as uploading a JSON file, an image, or a combination of multiple file types.
Important: only team owners can see the File Uploads menu and upload or delete files.
Click on your profile on the top-right, and select "File Uploads" from the drop-down:
On the "Upload a file" section, click on the "Select file" button to choose the file you want to upload. After that, click on the "Upload" button to upload your file. The maximum file size accepted is 5 MB, and there are no restrictions on file extensions:
You should now see your file available under the "Existing Files" section, as well as a new entry under the "History" section:
Select a bucket and create a new test, or open an existing test in the test editor:
Create a new Request step, and set your endpoint method to "POST", "PUT", "PATCH", or "DELETE". Then, under Parameters, click on "+ Add Multipart Form Parameters":
Give your file parameter a name (required), and click on the drop-down next to it to select the file from your available uploaded files. Runscope will try to set the Content-Type based on the file extension you have selected, such as application/json or image/jpeg, but you can also manually edit it:
Click on Save & Run! After your test runs, you can click on the new test run result on the left-hand side to check the details for your request. By expanding the details of a successful request step with the multipart file body, you should see:
Only the team owner can access and manage a team's files. In the File Uploads page you can find three main sections: "Upload a File", "Existing Files", and "History".