Answered question

Location for downloaded file

In my http request I am trying to download a file. The request will look something like this.

http://servername:portnumber/somepath/abc.war

At the end of the request I want abc.war to be downloaded. This file I need to use in future Neoload Scripts. When I send above request to server, I see the file is getting downloaded as it takes expected time to complete the request. However, where on the local server/ LG is this file saved? If the file is not saved, is there a way to save this file?

Abhiram P.
Abhiram P.

Abhiram P.

Level
1
125 / 750
points

Did you find this useful ?

No (0)

Yes (0)

0% of users found this answer useful

Other answers

By default NeoLoad does not save the file since the goal is only to check the server performances. If you really need to save it you can use the feature described in the NeoLoad documentation here

It's the "write response to a file". The file will be stored on the load generator under the %AppData%\Neotys\NeoLoad\v5.4 folder.

You can change the default folder by using your absolute path instead. But make sure that it exists on all your LG's.

Abhiram P.
Abhiram P.

Abhiram P.

Level
1
125 / 750
points

Thanks for your response Nouredine. It worked for me and downloaded the file. Can I somehow change the relative path to have the file downloaded into my script folder? As mentioned by you it is downloaded by default into %AppData%\Neotys\NeoLoad\v5.3 folder. Can I somehow use a relative path to download this war file into my script folder? I tried going through the properties file of Neoload to see if I can change the path for Response Storage property to point it it script folder. But I did not get any such property.