1
votes

I have a requirement in JMeter, While generating HTML reports using non gui mode,

  1. Only corresponding controllers should get displayed and it should not display its HTTP request samplers

  2. Controllers should not display randomly, It should display according to its order assigned inside the thread group (Eg: Controller 1, 2, 3)

enter image description here

Is there any solution for this requirement ?

2
Any feedback on answer ? If ok you should accept it and upvote so that others can trust it ?UBIK LOAD PACK

2 Answers

0
votes

To avoid displaying HTTP Requests, use Transaction Controller and apply naming policy as explained here.

For order, by default jmeter order by label. So an option would be to use a prefix that will be use for sorting (a, b, c ... z).

0
votes
  1. If you don't want the individual HTTP Request samplers to be displayed - put them under the Transaction Controller and tick Generate parent sample box
  2. Add the next line to user.properties file:

    jmeter.save.saveservice.subresults=false
    
  3. Use __threadGroupName() function as the Transaction Controller's label prefix

Example test plan outline:

enter image description here

Example generated APDEX table in the dashboard:

enter image description here