0
votes

enter image description hereTrying to run get method which download the zip file. For this have Get HTTP Request also applied listener as a Save Response to a file where i gave the path to download zip file. After executing the script Download path have file with the response content only not actual zip file.

enter image description here enter image description here In this i am trying get method to download zip

enter image description here In this when the file is saved on given location have same reponse in file not a zip file. (Response printed is zip file name)

2
@Amol nope its kind of differentPratik Ghodsad

2 Answers

0
votes

Change the position of "Save Response to a file" under the download request. Currently, it is under thread group.

enter image description here Hope this helps.

0
votes

I have used the below settings and it works fine for me. Also, I have found that there are some differences in "Save Responses to a file" element when compared with mine. This might exists because I am using some old version of Jmeter. Fields like "Filename Prefix" does not have a text field to enter the file name.

enter image description here