Posts

Showing posts with the label file upload tests

Using Postman Cloud - Test Data Storage for file uploading APIs Collection Run

Image
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 To upload files to the Postman c...

Postman Collection Run - How to Test File Uploading API on CircleCi or Jenkins

Image
From last couple of days,  I was doing R&D on how we can test file uploading API on CircleCi or Postman collection Run? Finally, I found a way to test the File uploading APIs using the Postman Desktop app  OR Postman CLI collection run. I have also tested this solution, even on CircleCi for running the automated testing postman APIs by Postman CLI collection run. Here is step by step process, how you can test the file uploading API on CircleCi or Postman collection Run? Local Desktop App settings: Open and go to Local Postman app settings -> General Set working directly location  ( default is postman installation directory but can also choose any other directory ) Place files (to use in file upload APIs during the collection run) in the working directory selected as in the above step and also in the root directory of your project. Now go to the API in which you need to upload a file, and select the file from the working directory selected in step 2. Save that ...