It is impossible to come up with the comprehensive response without seeing
your request configuration, a short checklist:1. Make sure to copy the file
to "bin" folder of your JMeter installation or to provide the full path to
the file2. Tick "Use multipart/form-data" box in the  HTTP Request
<https://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request>  
sampler 3. Make sure to use correct "Parameter Name" under the "Files
Upload" tab, it should be exactly the same as *name* parameter of the  file
input <https://www.w3schools.com/tags/att_input_type_file.asp>  In general
given you can successfully execute the request using Postman you could
record the request using JMeter, just  configure Postman to use JMeter as
the proxy
<https://support.getpostman.com/hc/en-us/articles/360008893713-How-do-I-configure-Postman-to-work-through-a-proxy->
 
, start JMeter's HTTP(S) Test Script Recorder,  copy the file you will be
uploading to JMeter's "bin" folder
<https://www.blazemeter.com/blog/recording-file-uploads-jmeter/>   and
execute the request in Postman. JMeter will capture the request and store it
under the  Recording Controller
<https://jmeter.apache.org/usermanual/component_reference.html#Recording_Controller>
   



--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

Reply via email to