“延迟时间"有什么区别?VS“连接时间"在杰米特? [英] What the difference "latency time" VS "Connect Time" In Jmeter?
问题描述
我是 jmeter 3.1 用户我不清楚延迟时间"与连接时间"的区别,其实在jmeter官方文档中是这样说的:
I am user jmeter 3.1 I am unclear the difference of "Latency time" vs "connected time", In fact, in jmeter official document, it said :
新的连接时间指标
connectTime"表示建立连接的时间.默认情况下,它不会保存为 CSV 或 XML,将其保存添加到 user.properties:
"connectTime " represents the time to establish connection. By default it is not saved to CSV or XML, to have it saved add to user.properties:
jmeter.save.saveservice.connect_time=true
那么,延迟时间"是什么意思?
So, what the mean of "latency time"?
推荐答案
Connect Time: 建立 TCP 连接所花费的时间(在 TCP/IP 模型中的 TCP 层)b/w client and server usingTCP 握手.如果 TCP 握手成功,则客户端可以发送进一步的请求(HTTP 请求 - HTTP 层).否则,客户端无法与服务器通信.如果服务器不在线或忙于响应其他请求,就会发生这种情况.
Connect Time: time taken to establish TCP connection (at TCP layer in TCP/IP model) b/w client and server using TCP Handshake. If TCP Handshake is successful, then the client can send further requests (HTTP request - HTTP layer). If not, the client can't talk to the server. This can happen if the server is not live or busy responding other requests.
延迟时间:JMeter 测量从发送请求之前到收到第一个响应之后的延迟.(连接时间
计算延迟时间
)
Latency Time: JMeter measures the latency from just before sending the request to just after the first response has been received. (Connect time
is included while calculating Latency Time
)
Elapsed time:JMeter 测量从发送请求前到收到最后响应后经过的时间
Elapsed time: JMeter measures the elapsed time from just before sending the request to just after the last response has been received
参考文献:
- https://jmeter.apache.org/usermanual/glossary.html
- http://www.tcpipguide.com/free/t_TCPConnectionEstablishmentProcessTheThreeWayHandsh-3.htm
这篇关于“延迟时间"有什么区别?VS“连接时间"在杰米特?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!