jMeter set num of threads and duration in CLI

Task: run test with different threads count and duration time

Implementation:

Set parameter value to "${__P(propName, defaultValue)}" in the test plan. Set real values in CLI to “… jmeter -JpropName=2 …”.

Example:

... jmeter -Jthreads=2 -Jduration=30 ...

Done.

Leave a Reply

Your email address will not be published. Required fields are marked *

3  +  2  =  

Skynin cache:
Array ( [cache mode] => capture [requestKey] => 80eb13655eec411ff72326b75969868a70.sc [skycache_disable_capture] => false )