Is there a way to specify # of threads on the command line when running Jmeter load tests from the command line/non-GUI mode? I looked at the Jmeter manual and there didn't appear to be an option to specify on the command line. There was mention of a property file but again, I don't know how to specify that in the property file to be used by Jmeter.
What I need to do is in non-GUI mode, specify the number of threads I want to run for that test on the command line.
The two hokey work arounds I am thinking of doing are:
- Use sed to edit the jmx file in my script with the number of users I want to test with
- Have X number of jmx files, each with a hard coded number of users to test with, and then pass that to Jmeter to test.
Thanks in advance for your help.