Become a JMeter and Continuous Testing Pro

Start Learning
Slack

Test Your Website Performance NOW!

arrow Please enter a URL with http(s)

Useful JMeter Properties: Save Results. Save the World

Just kidding. No 511 Davida or like is on their way to crash and destroy the earth......hopefully.


In a previous post about jmeter.properties we’ve reviewed several entries from jmeter.properties that allow us to customize the default JMeter GUI. But there are so many more interesting records.

Saving results

jmeter.save.saveservice.output_format.

This parameter defines the format in which the testing results will be saved.

Currently, two options are available; csv and xml.

**Note that this entry will work only when you start a test in non-GUI mode. This is because every GUI Listener has its own options for file output that can override this parameter.

httpsampler.ignore_failed_embedded_resources.

Ignore failed embedded resources

If you check in the HTTP Request check box (as seen above), every request will generate a sub-request for embedded resources.

There are two options depending on the value of httpsampler.ignore_failed_embedded_resources.

If it = true, then one failed subrequest won’t cause the parent request to fail. It means that sub-request will be marked with red in the View Results Tree and the parent request will be green.
If this property = false, then any failed subrequest will cause the parent request to fail and the parent request will be marked in red.

jmeter.save.saveservice.timestamp_format

This property is responsible for the format of timestamp in the *.jtl file. By default it has the value 'ms' - jmeter.save.saveservice.timestamp_format=ms.
In this case, the timestamp will be displayed in milliseconds passed since the implementation of Unix Epoch. In other words, the timestamp will have the value of System.currentTimeMillis(); This is not good for analyzing the results.

 

This property can be set to jmeter.save.saveservice.timestamp_format=HH:mm:ss or jmeter.save.saveservice.timestamp_format=yyyy/MM/dd HH:mm:ss.SSS and then the timestamp will more readable for us mere mortals.

csvread.delimiter. By default it has value=”,”

It means that the parameters in text files with data for CSV Data Set Config should be separated with a comma “,”. Other options are the semicolon“;”, the tilde “~” or the exclamation point “!”.  Any of these characters can act as the stunt double delimiter in the CSV Data Set Config.

Note that after changing these properties, JMeter needs to be restarted in order for the changes to be applied.

 

     
arrow Please enter a URL with http(s)

You might also find these useful:

Interested in writing for our Blog?Send us a pitch!