server.rmi.ssl.disable=true
jmeter-server -Djava.rmi.server.hostname=10.1.44.122
remote_hosts=10.1.44.123:1099,10.1.44.122:1099
#使用指定IP的agent进行压测
jmeter -n -t test.jmx -R 10.1.44.122,10.1.44.123 -l test.jtl
#使用所有agent进行压测
jmeter -n -t test.jmx -r -l test.jtl
参数 n:非gui运行
t:指定测试脚本
R:指定多少个 agent 启动并参与测试
r: 代表全部 agent 启动并参与测试
l:生成测试结果文件
原文:https://www.cnblogs.com/lsepi/p/14918408.html