jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <>
Subject Re: Split Aggregate Report by Loop Count
Date Wed, 30 Sep 2015 19:18:56 GMT
images dont make it to the mailing list.

But in general the aggregation is based on the sampler name - so if you
vary the sampler name - you can achieve what you want.
So if you use something like __counter ( you can get
ThreadGroup (Threads=10, Loop count=3)
+Test Action
++Beanshell Pre Processor name = ${__counter(TRUE,loopCount)}set ==>
initialize a counter and increment it every time
Generate the same number for different threads , but a new number every
time its called i.e. a new loop
+${loopCount} -Sampler1  ==> append it
+${loopCount} -Sampler2 ==> append it

Note that every time counter is run a new number will be created.
If you have fewer sampler it is an option
If you have many samplers you obviously dont want to go and specify this on
every sampler so you could do something like
+Test Action
++Beanshell Pre Processor name = ${__counter(TRUE,loopCount)}set
==>initiliase loop
+BeanShell PostProcessor
    prev.setSampleLabel(String.valueOf(vars.get("loopCount")) + "-" +


On Wed, Sep 30, 2015 at 11:52 AM, Ranieri Mazili <>

> Hello,
> I have a JMeter test where I see the results on a Aggregate Report.
> Currently my JMeter test has 7 steps as you can see in the image below.
> [image: Inline image 1]
> If I set my test to run 3 times (Loop count), the aggregate report
> obviously will aggregate the results, showing the same 7 steps on my
> aggregate report.
> I would like to split the results by Loop number, for example, for the
> step 1 (1. Login), I would like to have:
> 1.1 Login
> 1.2 Login
> 1.3 Login
> Is there a way to make it work this way?
> Thanks
> --
> Ranieri

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message