Laxmi
Laxmi

Reputation: 33

JMeter zip file download from application

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}}

enter image description here

Thanks in Advance

Upvotes: 0

Views: 699

Answers (2)

sunny_teo
sunny_teo

Reputation: 1999

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.

  1. 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:- enter image description here

Upvotes: 1

Facundo Suarez
Facundo Suarez

Reputation: 15

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.

Upvotes: 0

Related Questions