title: JMeter - Stop remote server
body: <p>I am running JMeter in distributed mode (1 master &amp; 2 slaves).</p>
  
  <p>In my master machine, I issue below command</p>
  
  <pre><code>jmeter -n -t script.jmx -r
  </code></pre>
  
  <p>It starts the test in both slave machines &amp; works great. If i need to stop the test (in non-gui mode), If i press <code>ctrl+c</code>, It just stops the master. slaves keep executing the test. I also tried <code>shutdown.cmd</code>. master shows that 'shutdown received from 127.0.0.1` but did nothing.</p>
  
  <p><strong>Question:</strong></p>
  
  <p>What is the best way to stop test while it is running?</p>