You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by socio_pal <so...@yahoo.com> on 2006/12/12 20:05:47 UTC

Finding the total number of threads running

Hi:
I am running 3 instances of Jmeter-server and the thread group in my
testplan is configured to run 100 threads. So, when I start the remote
testing, I believe that each instance runs 100 threads. But I don;t see this
number in the Jmeter GUI. I just see the green signal on the top right
corner with 0/0 as the thread count. Is there any way to find out the number
of threads running during remote test?

I could see the thread count when running just one instance of jmeter.

Thanks.
-- 
View this message in context: http://www.nabble.com/Finding-the-total-number-of-threads-running-tf2809535.html#a7839469
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Finding the total number of threads running

Posted by Sk...@londen-insurance.com.



You can call the JMeterContextService.getTotalThreads() method from a
beanshell sampler or pre/postprocessor to obtain the total number of
threads.  Depending on how you start JMeter, you can then view the total
number of threads on stdout using a print statement like:

print( "total number of threads: " +
org.apache.jmeter.threads.JMeterContextService.getTotalThreads() );

Hope this helps,

Skyler Bingham
skyler.bingham@londen-insurance.com
(602) 957-1650 x1139

socio_pal <so...@yahoo.com> wrote on 12/12/2006 12:05:47 PM:

>
> Hi:
> I am running 3 instances of Jmeter-server and the thread group in my
> testplan is configured to run 100 threads. So, when I start the remote
> testing, I believe that each instance runs 100 threads. But I don;t see
this
> number in the Jmeter GUI. I just see the green signal on the top right
> corner with 0/0 as the thread count. Is there any way to find out the
number
> of threads running during remote test?
>
> I could see the thread count when running just one instance of jmeter.
>
> Thanks.
> --
> View this message in context: http://www.nabble.com/Finding-the-
> total-number-of-threads-running-tf2809535.html#a7839469
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>

This e-mail and files transmitted with it are confidential, and are
intended solely for the use of the individual or entity to whom this e-mail
is addressed.  If you are not the intended recipient, or the employee or
agent responsible to deliver it to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited.  If you are not one of the named
recipient(s) or otherwise have reason to believe that you received this
message in error, please immediately notify security@londen-insurance.com
 by e-mail, and destroy the original message.  Thank You.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org