java - HTTP请求采样器数据的含义

标签 java jmeter

我刚刚开始使用 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.

来自这里:http://jmeter.apache.org/usermanual/glossary.html

关于java - HTTP请求采样器数据的含义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23397633/

相关文章:

java - 如何在android中找到特定的数据库和表是否已经存在

asp.net - 请求在 Jmeter Testing asp dot net 中显示响应数据 "Object moved to here"

java - 服务器响应时间在负载测试期间变得非常慢

java - JMeter - 使用 URL 的 jar 输出来加载测试

sockets - java.net.SocketException : Socket closed, JMeter

java - 无法捕获 Spring Batch 的 ItemWriter 中的异常

java - 如何在 Java 中使用 Cucumber DataTable 匹配包含 ("${") 的参数值

java - 如何获得月份的捷克名称

java - TCP 服务器以数据包结构发送文件(到非 Java 客户端)

certificate - 未生成ApacheJMeterTemporaryRootCA.crt