title: Running parallel tests using Selenium Grid and TestNG
body: <p>We have the following set up for running parallel tests using selenium grid and testng.</p>
  
  <p>Selenium Hub : Running the hub.
   Remote Control : Three remote controls running with *firefox as the environment.</p>
  
  <p>We have the <code>&lt;suite name="Parallel Test Suite" parallel="tests" thread-count="34"&gt;</code> for running all the 100 tests in our test suite expecting that each remote control will run 34 test at the same time and three remote controls running 100 at the same time.</p>
  
  <p>But each remote control is executing one test at a time, not concurrently. </p>
  
  <p>IS there any other parameter we should be using to start the hub or the rc.</p>
  
  <p>Help appreciated. </p>
  
  <p>Test Suite contains 100 entries like below</p>
  
  <pre><code>&lt;!-- 1 --&gt;
  &lt;test name="concurrentJobs100queue01WithFirefoxOnWindows" preserve-order="true"&gt;
  
      &lt;classes&gt;
        &lt;class name="testscripts.concurrentJobs100queue01"/&gt;
      &lt;/classes&gt;
  &lt;/test&gt;
  &lt;!-- 2 --&gt;
  &lt;test name="concurrentJobs100queue02WithFirefoxOnWindows" preserve-order="true"&gt;
  
      &lt;classes&gt;
        &lt;class name="testscripts.concurrentJobs100queue02"/&gt;
      &lt;/classes&gt;
  &lt;/test&gt;
  &lt;!-- 3 --&gt;
  &lt;test name="concurrentJobs100queue03WithFirefoxOnWindows" preserve-order="true"&gt;
  
      &lt;classes&gt;
        &lt;class name="testscripts.concurrentJobs100queue03"/&gt;
      &lt;/classes&gt;
  &lt;/test&gt;
  &lt;!-- 4 --&gt;
  &lt;test name="concurrentJobs100queue04WithFirefoxOnWindows" preserve-order="true"&gt;
  
      &lt;classes&gt;
        &lt;class name="testscripts.concurrentJobs100queue04"/&gt;
      &lt;/classes&gt;
  &lt;/test&gt;
  &lt;!-- 5 --&gt;
  </code></pre>