https://bz.apache.org/bugzilla/show_bug.cgi?id=60015
Bug ID: 60015
Summary: HTTP PUT Request with multipart/form-data did not work
with HTTPClient4
Product: JMeter
Version: 3.0
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
Assignee: [email protected]
Reporter: [email protected]
Created attachment 34160
--> https://bz.apache.org/bugzilla/attachment.cgi?id=34160&action=edit
sample jmx test file that we are using
Unable to send the file as a multi-part/form data for PUT request using HTTP
Sampler with HTTPClient4.
Please find attached a sample jmx test for the same.
The equivalent cURL command for the same is :
curl --proxy http://our_proxyurl -v -4 -k -u username:somepass -X PUT -F
"file1=@C:\Users\tempuser\Desktop\temp\myfile.zip"
"https://some_servername//some_api/upload?project=projectname"
It works fine with this cURL command. And we receive a proper response.
We have tried using both jMeter v 2.13 and jMeter v 3.0.
--
You are receiving this mail because:
You are the assignee for the bug.