性能测试工具 windows 使用非 GUI 模式运行 JMeter,没有正确运行,求分析

kawa · October 29, 2018 · Last by kawa replied at October 31, 2018 · 2493 hits

启动后,提示如下就结束了,没有接着提示 summary 之类的
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Creating summariser


Created the tree successfully using E:\jmx\api.jmx
Starting remote engines
Starting the test @ Mon Oct 29 15:59:45 CST 2018 (1540803585050)
Remote engines have been started
Waiting for possible Shutdown/StopTestNow/Heapdump message on port 4445

最佳回复
kawa #1 · October 31, 2018 Author

问题解决,不需要远程负载机时,不添加远程参数-r

共收到 3 条回复 时间 点赞
kawa #1 · October 29, 2018 Author

不知道是不是 remote 修改导致的?
刚开始运行时提示 Connection refused to host: 127.0.0.1,对 jmeter.properties 中的 remote_hosts=127.0.0.1 修改为 remote_hosts=,就不报错

kawa #2 · October 29, 2018 Author
kawa 回复

对 jmeter.properties 中的 remote_hosts 这个配置不是很了解,猜测是不是因为 remote 为空,导致没有负载机了,所以没有 summary 等的结果

kawa #1 · October 31, 2018 Author

问题解决,不需要远程负载机时,不添加远程参数-r

kawa 关闭了讨论 31 Oct 14:11
需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up