I'm trying to create a jmeter test. In this test, I have to do these steps:
wget -e use_proxy=yes -e http_proxy=URL_Proxy URL
, and save the response of this command;keytool -list -keystore file_keystore –alias “Alias”
, and save the response of this command;Can I have your assistence? Thanks
There is SSH Command Sampler plugin which you can use to connect to the remote server and execute an arbitrary command. The plugin can be installed using JMeter Plugins Manager:
Once you install the plugin you will be able to use SSH Command sampler for execution of shell commands on the remote machine:
Check out How to Run External Commands and Programs Locally and Remotely from JMeter article for more details
The output of the SSH Command sampler can be stored via Save responses to a file listener.