jmeter接口测试之SSH Command

原文地址:https://download.csdn.net/blog/column/8863406/106334136

需要提前安装好的工具:
按照好jmeter插件:ssh protocol support 、 sshmon samler Collector

 

 

 然而在实际测试中,不能确定我们的的机器能够正常连接。这里就要用到 while 循环设置重连,如下添加 while 控制器,写入循环语句。 当提取到结果信息时,跳出循环体,同时保证只重连三次

三次失败之后,跳出循环体

 

posted @ 2024-11-17 20:49  Chaman囍  阅读(35)  评论(0编辑  收藏  举报