I have to make a jmeter script to connect putty and provide host name and click on connect which will open a cmd asking for user name and pwd. Post which I have to type slrum command that is sinfo and it will retrieve data and finally an exit. I have used plink to achieve the same. In command parameter of os sampler, /C Plink -ssh user@host -pw password
I am able to successfully connect to putty and reach till pwd entry. On typing slrum command in cmd manually,it is fetching result but the same sinfo when am trying to achieve through os process sampler it is giving error as sinfo command not found. How to provide sinfo command from os process sampler to fetch correct output.