且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

“等待时间"有什么区别? VS“连接时间"在Jmeter中?

更新时间:2022-05-03 08:24:54

连接时间:建立TCP连接所花费的时间(在TCP/IP模型中的TCP层),黑白客户端和服务器使用TCP握手.如果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时包含Connect time)

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)

经过时间:JMeter测量从发送请求之前到收到最后一个响应之后的经过时间

Elapsed time: JMeter measures the elapsed time from just before sending the request to just after the last response has been received

参考文献:

  1. https://jmeter.apache.org/usermanual/glossary.html
  2. http://www.tcpipguide.com/free/t_TCPConnection EstablishmentmentProcessTheThreeWayHandsh-3.htm
  1. https://jmeter.apache.org/usermanual/glossary.html
  2. http://www.tcpipguide.com/free/t_TCPConnectionEstablishmentProcessTheThreeWayHandsh-3.htm