3

我已经根据教程安装了 jmeter guru99.com,现在完全按照https://www.guru99.com/jmeter-performance-testing.html页面中的步骤操作,但没有得到图表结果图表结果。我在 gui 模式下打开 jmeter 导致在命令行模式下出现错误could not open testPlan.jmx

4

3 回答 3

4

您忘记添加将发送请求的 HTTP 请求

右键单击线程组并选择:添加 -> 采样器 -> HTTP 请求。

于 2017-09-11T08:33:58.403 回答
0

我遵循相同的教程,我使用的是 jmeter4,最初,我遇到了同样的问题,然后我尝试导入以下套件,我做了以下,

Check whether you are connecting to the internet via a proxy. If yes, remove the proxy.
    Open a new instance of Jmeter
    Open the PerformanceTestPlan.jmx in Jmeter
    Double Click on Thread Group -> Graph Result
    Run the Test

网址:https ://www.guru99.com/jmeter-performance-testing.html

于 2018-06-21T02:14:30.037 回答
0

您应该设置足够多的用户以在您的图表上可见并且在您的图片上没有 HTTP 请求。在我的例子中,我在我的线程组中设置了用户数等于 20,而 Ramp-Up 周期等于 60。

我也有:

  • 在我的测试计划的根目录中添加了 HTTP 请求默认值、HTTP 标头管理器和图形结果
  • 在我的测试计划的根目录中添加了两个线程组
  • 在两个线程组中添加了 20 个不同的 HTTP 请求
  • 在两个线程组中添加了查看结果侦听器

图形 图片

线程组配置图片

于 2019-12-27T13:16:13.180 回答