Context of my query: Need to test REST API Put method for uploading a file tool to be used is JMeter.
I can successfully perform the above operation using POSTMAN tool but its not working in JMeter.
Here are the JMeter Request Details; method: PUT Path:path HEADER Content-Type= multipart/form-data; boundary=----WebKitFormBoundary${random}
BODY DATA
------WebKitFormBoundary${random} Content-Disposition: form-data; name="fileUpload"; filename="C:\temp\abc.zip" Content-Type: application/octet-stream
------WebKitFormBoundary${random}--
RESULTS: {"success":false,"errorMessages":"Request did not include an attachment"} Response code = 400
Appreciate if anyone can help or provide a better way to upload a file using PUT method.
Thanks, AB
