My Jmeter response looks like..
How to extract JTnumber from this and store in a csv? How about if we have 20 different JTnumbers from 20 responses? How to save all in a csv??
Please help me in achieving this..!!
My Jmeter response looks like..
How to extract JTnumber from this and store in a csv? How about if we have 20 different JTnumbers from 20 responses? How to save all in a csv??
Please help me in achieving this..!!
Add the next line to user.properties file (lives in "bin" folder of your JMeter installation)
sample_variables=JTnumber
see Sample Variables chapter of the JMeter User Manual for more information.
Add Regular Expression Extractor as a child of the request which returns the above response and configure it like:
Add Flexible File Writer to your Test Plan and configure it like:
values.csv
file in the "bin" folder of your JMeter installation containing all these JTnumber
values, each on new line