You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Erasmus, Ronel" <re...@uti.co.za> on 2005/01/13 14:21:23 UTC

Can I specify the number of threads via command line parameter

Hallo ,

I have a jmeter script with number of threads = 1.
I want to be able to specify the number of threads when I invoke the script
from the command line. Is that possible?

Thanks in advance,
R Erasmus

Re: Can I specify the number of threads via command line parameter

Posted by Michael Stover <ms...@apache.org>.
Yes, it is.  You would use the __P function in the Thread Group's
"number of threads" input box, and on the command line, you'd use
-JnameOfProperty=5 to set the value of the property.

See
http://jakarta.apache.org/jmeter/usermanual/functions.html#__P
http://jakarta.apache.org/jmeter/usermanual/get-started.html#override

On Thu, 2005-01-13 at 08:21, Erasmus, Ronel wrote:
> Hallo ,
> 
> I have a jmeter script with number of threads = 1.
> I want to be able to specify the number of threads when I invoke the script
> from the command line. Is that possible?
> 
> Thanks in advance,
> R Erasmus
-- 
Michael Stover <ms...@apache.org>
Apache Software Foundation


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