Download and save files in JMeter

Is there a way to configure in JMeter to save files coming from a response?

In the dialog box, select "save file"?

+5
source share
3 answers

I struggled with the problem for a week and finally got a solution.

You need to add the "Save response to file" listener with this request only to receive the file, and then specify the place where you want to save the file.
Jmeter saves 2 files, one contains the answer. The result and the other is the source file.
The file format is the same as that extracted from the database, in my case the name of the file that jmeter stores in this place is "TEXTFILE_1.octet-stream".
Rename this file to its original format, for example file.jpg, or whatever. You will get the source file and to check file integrity, data loss and data corruption, CRC check can be performed for the file obtained from jmeter and the file before downloading. The CRC value for the file should be the same.

Hope this helps.

+6

, "" , JMETER " " , . , , .

+1

? URL- , , . , , , , .

0

All Articles