Reputation: 75
I need to run JMeter in NON-GUI mode. GUI mode will not work for me. I created a JMeter test plan structured like this
I ran JMeter in NON_GUI mode with this command:
jmeter -n -t accessories.jmx -l C:\Users\YuC1\Desktop\output.csv
In the output.csv, only all the child samplers' results were included.
The problem for it is:
In a similar question on stackoverflow:
It is mentioned his/her problem for it was: it only included parent sampler results(which is what I wanted) without child samplers.
I think the solution should be in the jmeter.properties file, but I could not find the configuration to make it work.
Upvotes: 1
Views: 1639
Reputation: 34536
In your plan, you checked "Generate Parent Sample" in Transaction Controller.
So when using CSV output as per your command line, in JMeter <= 4.0, only parent sample result will be output.
Note that your configuration is not advised to generate HTML Report:
Anyway, in upcoming JMeter 5.0, this will change and Child Samples will also be output as per:
You can try nightly build which is very close to what 5.0 will be as we are very close to releasing:
Upvotes: 1