JMeter response time vs threads graph - data point

≡放荡痞女 提交于 2019-12-11 00:52:15

问题


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

Here are the settings:


回答1:


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

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

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

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




回答2:


In JMeter :

  • response time is Time To Last Byte (TTLB)
  • latency is Time To First Byte (TTFB)

See:

  • https://jmeter.apache.org/usermanual/glossary.html


来源:https://stackoverflow.com/questions/53175020/jmeter-response-time-vs-threads-graph-data-point

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