简体   繁体   中英

How is throughput value is calculating in summary report when we have samples more than 1?

I have create a test plan setting no. of threads= 1 ramp-up period= 1 and loop count = 1

If i want to verify throughput value of 2nd label i am using this formula 2/5 means (no.of samples / average time) which results in 0.4 ms but the value in jmeter is showing as 4.9/min. And how are the last two rows of summary report are calculating which include labels of Test(it is my transaction controller) and Total. Please explain with formula. The image of my summary report is in the given link. summary report

You're using the wrong formula, according to 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).

So you should be dividing the number of requests not by average response time, but by the whole duration of the test.

If you want to exclude some Samplers which are "not interesting" using Filter Results Tool where you can specify the label(s) of the sampler(s) you would like to get metrics for.

Filter Results Tool can be installed using JMeter Plugins Manager

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM