title: Running Jmeter testplan in non GUI mode
body: <p>I have created some test plans in Jmeter. Now I need to run them trough command line or java API. </p>
  
  <p>Can anyone please suggest any links or examples on from CLI/JAVA API how to: </p>
  
  <ol>
  <li>Start jmeter  </li>
  <li>Load the *.jmx [testplan] plan </li>
  <li>Specify number of threads </li>
  <li>Start the test  </li>
  <li>Redirect the output result xml to result directory.</li>
  </ol>