问题
I have a requirement to select multiple files in my application and need to download the zip files after processsing. Using Jmeter I am unable to download the file , getting the error message:
{"exception_body":{"http_response_code":400,"message":"The request could not be understood due to malformed syntax.","debug_message":"HTTP 400 Bad Request","error_code":1000}}
Thanks in Advance
回答1:
As per you error screenshot:-
1-The request is not formatted correctly. Need to correct this. Once done, it will show status 200 but will not download anything. Considering this is the request to download the zip.
- In order to download the zip, use "Save Response to a file" listener under the download request. This will download the zip file.
Update for regular expression, check below:-
回答2:
I had the same issue with JMeter and solved it used Postman to send the request. You can save the response using "Send and Download". This will download the zipfile.
来源:https://stackoverflow.com/questions/51213747/jmeter-zip-file-download-from-application