2
votes

I have generated the Jmeter HTML Report but in the Graphs Child samples data is displayed (But I checked Generate parent sample Check box in Transaction controller).Where do I need to change if I want only Transactions to be displayed in graphs screenshot

I have used below command to run from Command line but Some graphs are empty and Request Summary is also empty but Child samples data is not displayed in the graphs

jmeter -Jjmeter.save.saveservice.subresults=false -n -t E:\apache-jmeter-5.1.1\bin\jp\BookWithTemplate.jmx -l E:\apache-jmeter-5.1.1\bin\CSV\BWT.csv -e -o E:\apache-jmeter-5.1.1\bin\GeneratedReports

In reports I need to have the results only for Transactions not for Child samples. In all the graphs Child samples should not be displayed.

enter image description here

2

2 Answers

0
votes

This is expected result. Either you change the naming convention. Instead of Home-1, home-2..use only Home and provide data as input from csv. So, it will come under Home..and so on. Or one you data is generated in the csv...change the labels in the csv to consolidate in one group. Example replace all homepage-1, homepage-2 to Homepage and generate the graph later using HTML Report Tool. enter image description here

Hope this helps.

Update;- Only transaction without any child sample. You can use export trasaction summary to filter the output. Check Filtering configuaration and steps provide in here

2
votes

If you don't want child samples to appear in your HTML report:

In the listener page(where you have saved the result file as E:\apache-jmeter-5.1.1\bin\CSV\BWT.csv and which is the source file of HTML report) -> click on configure button -> uncheck the Save Sub Result option -> Hit Done button

Now do the execution and try to genertae HTML reports. It will not contain child samples(Sub Requests)

enter image description here

Reference :

Configure result file to customize HTML report

How to generate HTML report in JMeter