仪表板报告 - Transaction/sec

Dashboard report - Transaction/sec

任何人都可以帮助我了解这里的 Transactions/s 是如何计算的:

测试 运行 5 分钟,有 10 个用户。

根据JMeter Glossary

Throughput is calculated as requests/unit of time. The time is calculated from the start of the first sample to the end of the last sample. This includes any intervals between samples, as it is supposed to represent the load on the server.

The formula is: Throughput = (number of requests) / (total time).

因此,如果您查看 .jtl 结果文件,您将看到 timeStamp 列,通常是第一个。

  1. 查找具有最早时间戳的 1-Home 请求 - 即 开始时间
  2. 查找具有最新时间戳的 1-Home 请求,并将 elapsed 时间的值添加到其中 - 即 结束时间.
  3. 从结束时间减去开始时间 - 即 总时间
  4. 用总时间除以 88 - 你会得到 0.29

更多信息: