I am trying to run one shell script file from jmeter. My jmeter version is 2.11. I am using OS Process Sampler to run shell commands. sh search.sh is my command and working directory is /root/. File is present under root directory. Above command runs when we try to run it from linux cli.
But, if we try to run it from jmeter then it gives error,
Exception occured while executing System Call:java.io.IOException: Cannot run program sh search.sh (in directory /root): java.io.IOException: error=2 NO such file or directory.