Postman - Post Request With File Upload
I'm testing a flow of events which one of the steps is to upload a file, this is a RAR file. This step is made by POST request and in the body you can add fields and give them a
Solution 1:
Make sure in settings you allow the read files outside from working directory. This worked for me.
Solution 2:
If you’re trying to do this via the collection runner, this functionality isn’t supported.
This is a issue being recently discussed on the Postman GitHub account.
https://github.com/postmanlabs/postman-app-support/issues/3137
One of the ways that you can achieve this is by installing Newman and using this to upload the file during the test run.
Post a Comment for "Postman - Post Request With File Upload"