从机配置:
ip这里不要写localhost,或者127.0.0.1,直接写本机的外网ip
主机配置:
启动从机:
./jmeter-server -Djava.rmi.server.hostname=119.29.xx.xx
启动主机:
jmeter -n -t xxx.jmx -r -l test1.jtl
-r:启动所有配置里的从机
jmeter -n -t xxx.jmx -R 119.29.xx.xx -l test1.jtl
-R:启动指定从机
启动成功
原文:https://www.cnblogs.com/michael0931/p/14205902.html