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
exec("C:\Windows\System32\wscript.exe../stopwas.bat")
and it displayed an error message
"there is no script engine for file extension .bat"
also I have tried to run batch file from OS process sampler and I wrote the command as :
command :cmd stopwas.bat
also it failed can anyone help me with this issue?