1
votes

I'm using jmeter v5.0. I have put my HTTP requests inside of Transaction Controllers with "Generate parent Sample" checkbox checked as shown below. When I run the test in GUI mode the aggregate report shows as expected with only the Transaction Controllers.

However, when I generate a report and then the charts and graphs from the command line, the aggregate report and all other charts/graphs include the controller and children.

jmeter -n -t ntwebMetisMaster.jmx -l 1.jtl
jmeter -g 1.jtl -o 1

Is there a setting in jmeter.properties I need to change? I'm using defaults.

Thanks in advance for any help.

Controller screenshot
GUI aggregate report screenshot
Dashboard Aggregate screenshot

1

1 Answers

3
votes

The setting you're looking for is jmeter.save.saveservice.subresults, you need to set it to false

However please avoid modifying jmeter.properties file otherwise you may run into the situation when it will be overwritten during upgrade to the next JMeter version. You can add the next line to user.properties file instead:

jmeter.save.saveservice.subresults=false

And next time you start JMeter it will be applied.

You can also pass the property via -J command-line argument like:

jmeter -Jjmeter.save.saveservice.subresults=false -n -t test.jmx -l result.jtl -e -o report

More information: Apache JMeter Properties Customization Guide