6.6Jmeter远程调度Linux机器Jmeter测试

1、配置Agent和启动

1.1、打开jmeter/bin目录下的jmeter.properties

1、server_port=1099取消注释

2、remote_hosts=127.0.0.1 改为remote_hosts=127.0.0.1:1099 或者是remote_hosts=Agent机的ip:1099

3、server.rmi.localport=1099

4、server.rmi.ssl.disable=false改为true,且取消注释

1.2、在Agent(Linux)机器上启动

$./jmeter-server

如果后台启动:nohup ./jmeter-server -D java.rmi.server.hostname=10.1.1.198(本机ip) &

2、配置Controller和启动

2.1、打开jmeter/bin目录下的jmeter.properties

1、server_port=1099取消注释

2、remote_hosts=127.0.0.1:1099,Agent机的ip:1099(如果多个Agent,同样的配置方式,以英文逗号分隔即可。)

3、server.rmi.ssl.disable=false改为true,且取消注释

2.2、启动jmeter.bat

2.3、远程调度:

运行-->远程启动,例如选择:10.1.1.198:1099

Jmeter 控制台启动后运行日志:

远程的Agent被调用的日志

参考:https://www.freesion.com/article/56071020082/

相关推荐
贺小涛16 小时前
Linux系统堆与栈原理深度剖析
linux·运维·服务器
小码吃趴菜16 小时前
服务器预约系统linux小项目-第八节课
linux·服务器·oracle
123过去16 小时前
samdump2使用教程
linux·测试工具·安全
hzhsec16 小时前
密码爆破日志分析与隧道流量检查
linux·网络·windows·网络安全·应急响应
yiwenrong16 小时前
Linux 运维英语速查表
linux·运维·服务器
道阻且长行则将至!16 小时前
ubuntu下scp命令使用,开启ssh服务
linux·运维·ubuntu·scp·scp命令
cui_ruicheng17 小时前
Linux基础开发工具(三):Git 版本控制与 GDB 调试入门
linux·git·编辑器
贺小涛17 小时前
Jaeger深度解析
linux
源远流长jerry17 小时前
负载均衡概述
linux·运维·网络·架构·负载均衡·lvs
Shingmc317 小时前
【Linux】进程信号
linux·运维·服务器