jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "glinius@live.com" <glin...@live.com>
Subject Re: JMeter Binary Data response
Date Mon, 12 Feb 2018 06:37:37 GMT
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-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Mime
View raw message