Ramavi
Ramavi

Reputation: 55

How to upload a file into Request call of REST API while running Automated test cases suit in POSTMAN

I have a REST API call, which will take Multipart Data as Content-Type with a file(zip,rar,etc) and JSON Object as parameters shown below

The Request Structure in Postman

Now i wanted to write an automated test script for this API to run on Postman, but facing a problem in uploading a file during the Execution of the Collections.

Kindly share any views on how to upload a file during the Test execution.

Upvotes: 2

Views: 1320

Answers (1)

Related Questions