Thank you a lot,
as simple as that :) 
no = org.apache.jmeter.threads.JMeterContextService.getNumberOfThreads();
and you have the number of concurent users to play with;

Thanks again,
AJ

----- Original Message ----
From: sebb <[EMAIL PROTECTED]>
To: JMeter Users List <[email protected]>
Sent: Monday, September 17, 2007 1:27:31 AM
Subject: Re: Concurent Users Variable?

There is no such variable.

However, the current count is available using the method:

getNumberOfThreads()

See:

http://jakarta.apache.org/jmeter/api/org/apache/jmeter/threads/JMeterContextService.html

On 15/09/2007, Andrei Jucan <[EMAIL PROTECTED]> wrote:
> Anyone help me please!
> Concurrent users variable? I want to use this number(of concurrent users) in 
> a beanshell preprocessor!
>
> Thanks Again,
> AJ
>
> ----- Original Message ----
> From: Andrei Jucan <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Friday, September 7, 2007 10:12:03 PM
> Subject: Concurent Users Variable?
>
> Hi all,
> I have one script filled with java code and i want to take screenshots of 
> aggregate report at different moment of time, especially when a specified 
> number of users are concurent. Because of looping in my test i cannot use 
> __threadNum, so i just want to know if there is a variable for "concurrent 
> users"? (In the Jmeter window, in top-right corner we may see for example how 
> many concurrent users are at every moment...eg. 30/100).
>
> Thanks in advance,
> AJ
>
>
>
>
>      
> ____________________________________________________________________________________
> Luggage? GPS? Comic books?
> Check out fitting gifts for grads at Yahoo! Search
> http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
>
>
>
>
>
>
>
> ____________________________________________________________________________________
> Yahoo! oneSearch: Finally, mobile search
> that gives answers, not web links.
> http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








       
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the 
tools to get online.
http://smallbusiness.yahoo.com/webhosting 

Reply via email to