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/

相关推荐
orion571 天前
Missing Semester Class1:course overview and introduction of shell
linux
用户120487221611 天前
Linux驱动编译与加载
linux·嵌入式
用户805533698032 天前
Input 子系统架构:Core、Handler、Driver 三层是怎么协作的
linux·嵌入式
用户805533698032 天前
RK-Forge外设系列开篇 - 把板子从「能启动」变成「能用」:Ethernet/SPI/MMC 三个纯接线外设
linux·github·嵌入式
七歌杜金房2 天前
我终于又有了自己的 Linux 电脑
linux·debian·mac
tntxia3 天前
linux curl命令详解_curl详解
linux
扛枪的书生3 天前
Linux 网络管理器用法速查
linux
顺风尿一寸3 天前
Java Socket 内核之旅:从 SocketChannel.read() 到 tcp_recvmsg 与 epoll 的完整调用链路
linux
XIAOHEZIcode4 天前
Ubuntu 终端美化全栈指南:Bash 到 Kitty 踩坑实录
linux·ubuntu·命令行
唐青枫4 天前
别再只会用 cron:Linux systemd Timer 定时任务实战详解
linux