JMeter latency vs load time(sample time)

前端 未结 2 1834
心在旅途
心在旅途 2020-12-24 12:39

I was running a test on my HTTP server and the transfer speed went really slow when I switched the server from localhost(used a laptop) to a AWS EC2 t.micro server.

相关标签:
2条回答
  • 2020-12-24 13:18

    Latency = 922 ms means that it takes 922 ms as the first response of the request from when the request has been made.

    Sample Time(or Response Time) = 1232 ms means that it takes 1232 ms to process the request from when it has been made.

    Therefore, Response Time = Latency + Processing Time

    0 讨论(0)
  • 2020-12-24 13:32

    Latency is a difference between time when request was sent and time when response has started to be received.

    Response time (= Sample time = Load time = Elapsed time) is a difference between time when request was sent and time when response has been fully received.

    So Response time always >= latency.

    The larger file is, the larger difference between response time and latency will be.

    0 讨论(0)
提交回复
热议问题