Jmeter - 连接 SSH - 转换 wget 和 keytool
Jmeter - Connection SSH - Convert wget and keytool
我正在尝试创建一个 jmeter 测试。在此测试中,我必须执行以下步骤:
- 使用用户名和密码创建 SSH 连接;
- 运行 此服务器中的别名;
- 更改存储库 (cd.., cd conf);
- 运行这条命令
wget -e use_proxy=yes -e http_proxy=URL_Proxy URL
,并保存这条命令的响应;
- 运行这条命令
keytool -list -keystore file_keystore –alias “Alias”
,并保存这条命令的响应;
我可以得到你的帮助吗?
谢谢
有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:
安装插件后,您将能够使用 SSH 命令采样器在远程计算机上执行 shell 命令:
查看 How to Run External Commands and Programs Locally and Remotely from JMeter 文章了解更多详情
SSH 命令采样器的输出可以通过 Save responses to a file 侦听器存储。
我正在尝试创建一个 jmeter 测试。在此测试中,我必须执行以下步骤:
- 使用用户名和密码创建 SSH 连接;
- 运行 此服务器中的别名;
- 更改存储库 (cd.., cd conf);
- 运行这条命令
wget -e use_proxy=yes -e http_proxy=URL_Proxy URL
,并保存这条命令的响应; - 运行这条命令
keytool -list -keystore file_keystore –alias “Alias”
,并保存这条命令的响应;
我可以得到你的帮助吗? 谢谢
有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:
安装插件后,您将能够使用 SSH 命令采样器在远程计算机上执行 shell 命令:
查看 How to Run External Commands and Programs Locally and Remotely from JMeter 文章了解更多详情
SSH 命令采样器的输出可以通过 Save responses to a file 侦听器存储。