jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krishnakanth <>
Subject passing Number of threads from command prompt
Date Thu, 11 Dec 2008 10:12:46 GMT

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
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 file to do so? 

View this message in context:
Sent from the JMeter - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message