JMeter 在 table 中查看结果

JMeter View Results in table

我正在 运行对休息客户端进行一些测试。当我启动 Jmeter 时,我还设置了一些监听器,例如 "View Results in a table"。当我运行一个测试。我动态地看到 table 正在填充。

在 table 的底部,有一个小工具栏,其中包含

等元素

没有。样本、最新样本、平均值和偏差。 这些要素说明了什么? 样本数量——这是否意味着得到响应的请求总数? Latest sample - 这是否意味着发送了最新的请求? 平均 - 平均什么? 偏差 - 无线索

JMeter "View Results in Table" Bottom Pane

View Results Table 使用大量内存。实际负载测试请查看JMeter best practices

要了解指标,请将 Summary Report 添加到您的测试计划中。 (右键单击线程组 > 添加 > 侦听器 > 摘要报告)。

这是示例 Summary Report

这是同一执行的 View Results in Table

在这个例子中,

Latest sample : last sampler's Sample Time (ms).

Average : a set of numerical values (in this context it is sample time), calculated by adding them together and dividing by the number of terms in the set.

Deviation : standard deviation of Sample Time (ms). JMeter uses STDEVP function.

No of Samples : Total number of requests/samplers triggered in the test plan. If you checked, Child Samples, then it will list only sub-samples instead of the main samples.

这是结果的 Excel sheet 视图。

  1. Don't use any listeners while your test is running
  2. Don't run your test in GUI mode, make sure you are running the test in command-line non-GUI mode

关于您的问题:

  • Latest sample - 基本上是最新的采样器 经过时间
  • Average - arithmetic mean 所有采样器的响应时间(所有采样器响应时间的总和除以它们的计数)
  • Deviation - standard deviation 所有采样器

查看 JMeter Glossary 以获取有关上述指标和其他指标的详细说明。