You can apply the same approach for your JMeter test, in JMeter you have 
Save Responses to a file
<http://jmeter.apache.org/usermanual/component_reference.html#Save_Responses_to_a_file>
  
listener which can be used to store response data as a file on the file
system. See  Performance Testing: Upload and Download Scenarios with Apache
JMeter
<https://www.blazemeter.com/blog/how-performance-test-upload-and-download-scenarios-apache-jmeter>
  
article for more information on how you can simulate file download event in
JMeter test. 

The value can be extracted using either  Regular Expression Extractor
<http://jmeter.apache.org/usermanual/component_reference.html#Regular_Expression_Extractor>
  
(if it can be located as a plain text). If the file is binary you might need
to  Apache Tika <https://tika.apache.org/>   library and Groovy scripting to
parse the file and extract the "interesting" value. See  How to Extract Data
>From Files With JMeter
<https://www.blazemeter.com/blog/what-every-performance-tester-should-know-about-extracting-data-files-jmeter>
  
for more details.



--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org

Reply via email to