jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: passing Number of threads from command prompt
Date Thu, 11 Dec 2008 14:37:01 GMT
2008/12/11 Krishnakanth <krishnakanth.pps@gmail.com>:
>
> If there are few thread groups in a Jmeter test plan and if we want to pass
> the number of threads (users),
> Ramp up time as parameters from command prompt in the below mentioned way.
> Does this work?
>
> To specify 1 user per user group for 5 groups (total 5 users), ramp up in 1
> second,
> and 25 loops each group iterates over the same operation set:
>
> ./bin/jmeter.lucene -t MyWebPerfScenario.jmx \\
> -Jgroup1.threads=1 -Jgroup1.loops=25 -Jgroup1.rampup=1  \\
> -Jgroup2.threads=1 -Jgroup2.loops=25 -Jgroup2.rampup=1  \\
> -Jgroup3.threads=1 -Jgroup3.loops=25 -Jgroup3.rampup=1  \\
> -Jgroup4.threads=1 -Jgroup4.loops=25 -Jgroup4.rampup=1  \\
> -Jgroup5.threads=1 -Jgroup5.loops=25 -Jgroup5.rampup=1
> I tried it, but its not taking the parameters. Do we have to make some
> changes in the Jmeter.properties file to do so?
>

No, but you do need to refer to the properties in the appropriate
thread group GUI fields.

For example, in the Ramp-up field, use ${__P(group1.rampup)} etc.


> --
> View this message in context: http://www.nabble.com/passing-Number-of-threads-from-command-prompt-tp20952721p20952721.html
> 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
>
>

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


Mime
View raw message