Why my Active Threads not equivalent to no. of total users running in jp@gc- Active Threads Over time graph.

566 views
Skip to first unread message

ravikar...@gmail.com

unread,
Aug 16, 2017, 11:13:01 AM8/16/17
to jmeter-plugins
Hi Team,

I am experiencing a strange issue. Let me explain

I have a Jmeter Thread group for 10 users (running forever for 1 hour duration). When this is run from local machine, I could see 10 threads running on jp@gc- Active Threads Over time graph. And no. of transactions it is producing during that one hour is lets say 10*60 = 600 Transactions (assuming 1 transaction for every one minute/user).

Same Thread group when run from 7 different slave machines  (running forever for 1 hour duration) . I could see 10 threads only running on jp@gc- Active Threads Over time graph, instead of 7*10 = 70 threads. But interestingly it is still producing the expected amount of transactions (i.e 7*10*60 = 4200 Transactions). This is a clear indication for me that, even though threads are showing as 10 threads, but in reality it is running with 70 users in the background.

So I am confused why jp@gc- Active Threads Over time graph is not showing total users/threads running, instead only showing maximum of 10 threads which is configured in the Thread group ? Could someone help me what's going on here ?

Any help would be appreciated.

Thanks
Ravi

Andrey Pokhilko

unread,
Aug 16, 2017, 11:43:32 AM8/16/17
to jmeter-...@googlegroups.com

Hi,

On the plugins' doc page: https://jmeter-plugins.org/wiki/ActiveThreadsOverTime/

There is bold statement in the beginning:

If you are doing distributed tests, you should name the thread groups like this in your test plan:

${__machineName()}_My Threadgroup name
Did you see it? Did you try it?


Andrey Pokhilko

--
You received this message because you are subscribed to the Google Groups "jmeter-plugins" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ravikar...@gmail.com

unread,
Aug 16, 2017, 1:34:09 PM8/16/17
to jmeter-plugins
Hi Andrey,

Thanks for the help, now I am able to see different threads originating from different slave machines. But is there another way to see combined or total threads running, instead of me adding the thread counts from individual slave machines.

Thanks
Ravi


On Wednesday, August 16, 2017 at 10:43:32 AM UTC-5, Andrey Pokhilko wrote:

Hi,

On the plugins' doc page: https://jmeter-plugins.org/wiki/ActiveThreadsOverTime/

There is bold statement in the beginning:

If you are doing distributed tests, you should name the thread groups like this in your test plan:

${__machineName()}_My Threadgroup name
Did you see it? Did you try it?


Andrey Pokhilko

On 08/16/2017 06:13 PM, ravikar...@gmail.com wrote:
Hi Team,

I am experiencing a strange issue. Let me explain

I have a Jmeter Thread group for 10 users (running forever for 1 hour duration). When this is run from local machine, I could see 10 threads running on j...@gc- Active Threads Over time graph. And no. of transactions it is producing during that one hour is lets say 10*60 = 600 Transactions (assuming 1 transaction for every one minute/user).

Same Thread group when run from 7 different slave machines  (running forever for 1 hour duration) . I could see 10 threads only running on j...@gc- Active Threads Over time graph, instead of 7*10 = 70 threads. But interestingly it is still producing the expected amount of transactions (i.e 7*10*60 = 4200 Transactions). This is a clear indication for me that, even though threads are showing as 10 threads, but in reality it is running with 70 users in the background.

So I am confused why j...@gc- Active Threads Over time graph is not showing total users/threads running, instead only showing maximum of 10 threads which is configured in the Thread group ? Could someone help me what's going on here ?

Any help would be appreciated.

Thanks
Ravi

Andrey Pokhilko

unread,
Aug 16, 2017, 2:13:12 PM8/16/17
to jmeter-...@googlegroups.com

Which version of the plugins do you use?

Andrey Pokhilko

ravikar...@gmail.com

unread,
Aug 17, 2017, 10:40:02 AM8/17/17
to jmeter-plugins
Hi Andrey,

I got it, I was looking at "Detailed display, one row per Sampler" in jp@gc - Active Threads Over Time graph. But after appending the machine name to the Thread group name and changing the Graph settings to "Aggregated display, all samplers combined" I am able to see total threads running.

Thanks for your suggestion and help.

-Ravi
Reply all
Reply to author
Forward
0 new messages