Saturday, February 20, 2016

Jmeter - Counter - Rail Counter Independently For Each User

| Saturday, February 20, 2016
Earlier nosotros stimulate got larn dissimilar components of Counter config chemical element of Jmeter together with how to role it inwards your software charge attempt invention amongst instance inwards THIS ARTICLE. So hither nosotros volition non utter over all those things together with guide focus on usage of "Track Counter Independently for each User" parameter of Counter config chemical element together with how it volition industrial plant inwards your software charge attempt invention amongst practical example.

Track Counter Independently for each User
"Track Counter Independently for each User" is checkbox parameter of Counter config chemical element of apache jmeter. Main usage of this parameter is to gear upward independent counter for each thread. Means each novel thread volition croak it's novel count if it is checked. Let's stimulate got practical example.

I stimulate got used ii dissimilar thread groups amongst same parameter configuration(Number of Threads = 2, Ramp-Up Period = 1, Loop Count = 6) every bit shown inwards bellow image.


Counter of Thread Group 1 has Track Counter Independently for each User = checked every bit shown inwards bellow image.


But Track Counter Independently for each User = unchecked for Thread Group ii every bit shown inwards bellow image.


All other parameters are same inwards both thread groups.

I stimulate got used counter effect reference position out inwards requests's mention champaign every bit shown inwards bellow icon then that i tin encounter count value of both threads when run test.


Now if you lot volition run higher upward instance software attempt plan, View Results Tree of Thread Group 1 volition looks similar bellow.


In effect you lot tin encounter that sequence of Count value which is displayed at destination of asking mention is 0001,0001,0002,0002,0003,0003,0001,0001,0002,0002,0003,0003. That means, both threads croak it's ain value from counter.

View Results Tree of Thread Group ii volition looks similar bellow.


In effect you lot tin encounter that sequence of Count value which is displayed at destination of asking mention is 0001,0002,0003,0001,0002,0003,0001,0002,0003,0001,0002,0003. That agency both thread are using mutual shared count value.

This is the brain component of "Track Counter Independently for each User" inwards counter. You tin role it inwards your software charge attempt invention every bit per your requirement.

Related Posts