title: Specify number of threads/users on command line for jmeter
body: <p>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.</p>
  
  <p>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.</p>
  
  <p>The two hokey work arounds I am thinking of doing are:</p>
  
  <ol>
  <li>Use sed to edit the jmx file in my script with the number of users I want to test with</li>
  <li>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.</li>
  </ol>
  
  <p>Thanks in advance for your help.</p>