Using Postman Cloud - Test Data Storage for file uploading APIs Collection Run
Last year in Dec. Postman has announced Test Data file storage facility to make file uploading API testing much simpler and share those files among the team, so everyone can directly use them from the cloud storage of Postman without configuring Working directory and placing the files inside it.
In case you want to know about the older way, I have already explain older way in last post .
For using Postman shared cloud storage for uploading files and sharing among the team, Please make sure you are using the latest version of Postman desktop application. Similarly, make sure you are using latest version of Postman CLI in-case you are testing file uploading APIs using Postman CLI collection run command.
Let's understand now, how we can use this cool new feature of Postman Cloud File Storage, sharing among the team members and using it during the API testing.
One can upload a file to Postman File storage Using Postman API request Body - form data
In case you want to know about the older way, I have already explain older way in last post .
For using Postman shared cloud storage for uploading files and sharing among the team, Please make sure you are using the latest version of Postman desktop application. Similarly, make sure you are using latest version of Postman CLI in-case you are testing file uploading APIs using Postman CLI collection run command.
Let's understand now, how we can use this cool new feature of Postman Cloud File Storage, sharing among the team members and using it during the API testing.
One can upload a file to Postman File storage Using Postman API request Body - form data
To upload files to the Postman cloud storage and share among the team:
- Go to the request uploading file
- Choose form-data as body type
- Go to the request uploading file
- Choose form-data as body type
- Select File type for input will be used to upload the file.
- To upload a new file, click on the Upload icon on the right side of value section, which will open a select file model. Select any file to upload.
- Once selected and uploaded, the file one cloud storage will be shared among the team, you can select the uploaded file to use for the collection run. It will also show the list of files uploaded already, in-case there are some.
- Once selected and uploaded, the file one cloud storage will be shared among the team, you can select the uploaded file to use for the collection run. It will also show the list of files uploaded already, in-case there are some.
All the files are uploaded to a request in a shared collection to the team, All the team members can see those files and can use the same at their end.
Managing Files on Postman Storage Cloud
Open Postman Teams dropdown menu on the top right corner and select Resource Usage menu option. Now you will see the Resource Usage detail page having many sub-sections.
Managing Files on Postman Storage Cloud
Open Postman Teams dropdown menu on the top right corner and select Resource Usage menu option. Now you will see the Resource Usage detail page having many sub-sections.
Scrolling down you will see Test Data Storage under Other resources . Click on view detailed usage and you can see the list of uploaded test files on the Postman cloud storage.
Here you can also see options to download or delete an already uploaded file. Here it's worth mentioning that if you delete a file, it will be deleted for the team as well.
Here you can also see options to download or delete an already uploaded file. Here it's worth mentioning that if you delete a file, it will be deleted for the team as well.
Note: This Postman Test Data Storage feature is available to Free accounts as well.
Comments
Post a Comment