Reputation: 27
After the test plan execution, I need the result file with only 5 fields value i.e. Date,Time, Response message,Response header and Error count in a text file format.Is this possible?I'm doing this for continuous Integration purpose as I need to publish result in the required format.
Upvotes: 1
Views: 261
Reputation: 168002
You can control what is stored in .jtl result file using relevant JMeter Properties.
For instance, to save timestamp, Message and headers you can add the following lines to user.properties file (which sits in /bin folder of your JMeter installation)
jmeter.save.saveservice.timestamp_format=yyyy/MM/dd HH:mm:ss.SSS
jmeter.save.saveservice.response_message=true
jmeter.save.saveservice.responseHeaders=false
See
saveservice
in their names in jmeter.properties file in /bin folder of your JMeter installation to see available properties and their default valuesUpvotes: 2