How Throughput is calculate and display in Sec,Minute and Hours in Jmeter?

本秂侑毒 提交于 2019-12-22 01:09:06

问题


I have one observation and want to get knowledge on Throughput calculation,Some time Throughput is displaying in seconds,some times in minutes and some times in Hours,please any one provide exact answer to calculate throughput and when it will display in Seconds,Minutes and Hours in Jmeter Summary Report


回答1:


From JMeter Docs:

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).

unit time varies based on the throughput values.

examples:

  1. In 10 seconds, 10 requests are sent, then throughput is 10/10 = 1/sec
  2. In 10 seconds, 1 requests are sent, then throughput is 1/10 = 0.1/sec = 6/min (showing 0.1/sec in decimals will be automatically shown in next higher unit time)

If you understand, it is to avoid small values (like, 0.1, 0.001 etc). In such cases, higher unit time is more friendly in understanding, while all unit times are correct. It is a matter of usability.

so,

1/sec = 60/min = 3600/hour = SAME



来源:https://stackoverflow.com/questions/41933739/how-throughput-is-calculate-and-display-in-sec-minute-and-hours-in-jmeter

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!