Search code examples
jmeterperformance-testing

How to Hide nested HTTP Samples(Child samples) in the Jmeter HTML Report


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


Solution

  • 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