Reputation: 385
I want to make an API call using Jmeter.
In my API call, I'm sending a file with a request, and I need to specify the file name as form-data.
e.g. when I call the same API from postman !
How do I, specify a filename when I make above call from Jmeter?
Jmeter call :
Upvotes: 3
Views: 25513
Reputation: 168002
HTTP Request Sampler provides options to
Use multipart/form-data for HTTP POST
See Performance testing: Upload and Download Scenarios with Apache JMeter guide for detailed explanations and configuration instructions.
Upvotes: 4