title: How to run batch file(.bat) from Jmeter
body: <p>I'm new to Work with jmeter and I want to run batch file ,I have tried to run batch file from BSF sampler using this command </p>
  
  <p><i>exec("C:\Windows\System32\wscript.exe../stopwas.bat")</i></p>
  
  <p>and it displayed an error message </p>
  
  <p>"there is no script engine for file extension .bat"</p>
  
  <ul>
  <li><p>also I have tried to run batch file from OS process sampler and I wrote the command as :</p>
  
  <pre><code>command :cmd
  stopwas.bat 
  </code></pre></li>
  </ul>
  
  <p>also it failed can anyone help me with this issue?</p>