Search code examples
jmeterperformance-testingjmeter-pluginsjmeter-3.2jmeter-maven-plugin

How to group Http requests with transactions in Jmeter HTML Reports?


HTML Reports generated with JMeter don't show requests grouped under a particular transaction. All requests and transactions appear in the HTML report Randomly. Is there a way to arranage those requests as part of transactions in the HTML Reports. Is there any plugin which can do that, if this feature is not native to JMeter ?

Any pointers will be appreciated?


Solution

  • Try to give naming convention for requests as shown below:-

    enter image description here

    First, Script Name "SC01" then transaction sequence "00" "and then name for the request or action name. i.e.SC01_00_Homepage.

    I hope this help.

    For auto increment, initialize a variable let say "id" with 0 in the user defined variable then use ${__intSum(${id},1,id)} for auto increment as shown below:-

    enter image description here enter image description here

    For reset, use jSR223 post processor in the last sampler to reset the id to 0 as shown below.

    enter image description here

    Below is the snapshot to verify this. enter image description here

    Hope it helps.