我如何分析JMeter摘要结果 [英] How do I analyze JMeter summary results

查看:167
本文介绍了我如何分析JMeter摘要结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这个问题在前面已经问过了,但是我仍然无法弄清楚Jmeter摘要报告中average,min,max and throughput参数的意义是什么?

I know that this question has been asked here earlier but I am still not able to figure out what is the significance of the average,min,max and throughput parameters in the Jmeter summary report ?

这是JMeter的设置:

Here are is JMeter setup:

No. of threads:5000
Ramp-up period : 1
Loop Count: 1

Results :
Average:738 
Min:155
Max:2228
Throughput:60.5%

那么这是否意味着我的5k请求完成了738毫秒(0.7 s)的时间? 还是意味着每个请求都需要0.7秒才能完成? 相似,最小和最大参数应该是什么.

So does that mean that my 5k requests took 738 milliseconds(0.7 s) to complete ? or it means that every single request took 0.7s to complete ? Similar, what shall be the interpretation for min and max parameters.

推荐答案

关于平均值-738或0.7s表示例如,如果您有一个带有两个线程的请求,而第一个线程在0.9s内完成,而第二个线程花了0.9s 0.5秒即可完成,这是您已发出的所有请求的平均响应时间(对于5000个用户,例如,如果每个用户正在执行1个请求,则相同)-平均响应时间将是所有响应时间的总和除以线程数(5000)).

About the average - 738 or 0.7s means that for example if you have one request with two thread and the first thread completed in 0.9s and the second one took 0.5s to complete this is the average response time of all requests that you have made (same for your 5000 users if for example they are executing 1 request each - the average response time will be the sum of all response times divided by number of threads (5000)).

Min和Max是所有请求记录的最小和最大响应时间,因此,如果再次执行5000个线程,则一个请求的采样器响应时间为155毫秒,另一个请求为2228毫秒.

Min and Max are the minimum and maximum response time that was logged as a result by all of the requests so if 5000 threads are executing again 1 request one of the samplers response time was 155 milliseconds and another one was 2228 milliseconds.

关于吞吐量-它表示在给定时间段内可以进行的事务或请求的数量.检查服务器的负载容量是一种有用的度量.吞吐量=(请求数)/(总时间).

About the throughput - it signifies number of transactions or requests that can be made in a given period of time. It is a useful measurement to check the load capacity of the server. Throughput = (number of requests) / (total time).

这篇关于我如何分析JMeter摘要结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆