gpt4 book ai didi

linux - 无法通过 CLI 调试 Jmeter

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:46:31 24 4
gpt4 key购买 nike

我正在尝试通过命令行在 Centos VM 上运行 Jmeter,如下所示:

./jmeter -n -t temp_cli/sampler.jmx -l temp_cli/results.xml -j temp_cli/j.log

我明白了:

  INFO  - jmeter.threads.JMeterThread: Thread is done: sampler flow 1-1 
INFO - jmeter.threads.JMeterThread: Thread finished: sampler flow 1-1
DEBUG - jmeter.threads.ThreadGroup: Ending thread sampler 1-1
summary = 1 in 1s = 2.0/s Avg: 434 Min: 434 Max: 434 Err: 1 (100.00%)
Tidying up ... @ Wed Apr 13 07:57:42 UTC 2016 (1460534262577)
... end of run

它应该花费超过 1 秒的时间,所以我很确定出了什么问题。问题是我没有得到足够的数据来说明出了什么问题。我尝试了 tail -f jmeter.log 但我没有收到任何错误

有人知道我怎样才能获得更多信息吗?

最佳答案

您的文件 results.xml 将为您提供更多详细信息。

您可以在此处看到错误率为 100%,因此您的唯一样本失败了。

如果您在运行 gui 模式的机器上以非 gui 模式运行测试,那么您很可能没有安装插件 jars。

关于linux - 无法通过 CLI 调试 Jmeter,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36592538/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com