我刚刚开始使用 JMeter。目前,我只对 HTTP 请求采样器感兴趣。有一些术语我认为我理解,但我找不到澄清它们的官方文档。所以,我想分享一下我的理解,看看它们是否正确。
让我们以一个 HTTP 请求为例。假设在时间t0
,请求是从 JMeter 发送的。在t1
,JMeter开始接收响应流。在t2
,JMeter 接收整个响应流。因此,以下是我对图形结果输出中找到的术语的理解。
timestamp -> t0
elapsed -> t2 - t0
latency -> t1 - t0
那么,我的理解正确吗?如果不是,它们应该是什么?
非常感谢。
最佳答案
这有帮助吗?
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. Protocol analysers (such as Wireshark) measure the time when bytes are actually sent/received over the interface. The JMeter time should be closer to that which is experienced by a browser or other application client.
关于java - HTTP请求采样器数据的含义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23397633/