JMeter响应时间与线程关系图-数据点 [英] JMeter response time vs threads graph - data point

查看:1362
本文介绍了JMeter响应时间与线程关系图-数据点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此图使用的数据点是什么?该图表示的是TTFB(到第一个字节的时间)还是TTLB(到最后一个字节的时间)

What data point this graph is using? Is the graph representing TTFB (time to first byte) or TTLB (time to last byte)

以下是设置:

推荐答案

图形表示TTLB(到最后一个字节的时间),因为它使用了JMeter的响应时间

Graph is representing TTLB (time to last byte) because it uses JMeter's Response time

如果要使用TTFB(至第一个字节的时间),则需要使用延迟

If you want TTFB (time to first byte), you need to use Latency

JMeter测量从发送请求之前到收到第一个响应之后的延迟.因此,时间包括了组装请求以及组装响应的第一部分所需的所有处理,该过程通常长于一个字节

JMeter measures the latency from just before sending the request to just after the first response has been received. Thus the time includes all the processing needed to assemble the request as well as assembling the first part of the response, which in general will be longer than one byte

如果要显示TTFB,一个窍门可能是用响应时间列值代替延迟,然后在图形中显示值

If you want to display TTFB, a trick could be to replace latency with response time columns values and then display values in graph

这篇关于JMeter响应时间与线程关系图-数据点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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