Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jmeter latency vs actual browser load test

Is this a valid testing for checking of how much time to load a web under test with 500 concurrent user.

I run jmeter with a 500 thread user , ramp-up period = 50 and loop count forever. with a listener with "results in table" that also record the latency.

While jmeter is running, i try to load/browse the web under test using actual browser(in my case IE8) , and it loads in 7 secs. but based on the latency the majority of result is 50k++.

is the 7 secs load time in actual browser is consider a "response time result"? since it is load in actual browser.

another question: is the latency 50k is converted to sec? means 50secs. to load the web under test if we based on the jmeter result? kindly clarify this to me please :)

like image 653
ningpra Avatar asked Nov 19 '14 00:11

ningpra


People also ask

How latency is calculated in JMeter?

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.

What is the difference between response time and latency in JMeter?

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.

What is latency and load time in JMeter?

However, there's an important difference between these two. Latency is defined as the time from just before sending the request to just after receiving the first part of the response, whereas load time is the time from just before sending the request to just after receiving the last part of the response.

What is latency in load testing?

Latency describes the amount of delay on a network or Internet connection. Low latency implies that there are no or almost no delays. High latency implies that there are many delays. One of the main aims of improving performance is to reduce latency.


1 Answers

In simple words, Latency is network delay (time taken by network while transferring data)

In JMeter latency is time between, when request is sent to server till first byte of response reaches the client/Jmeter. If response time is very low enough then you wont get precise measure of latency. If Response time is high then probably you will get correct measure.

In Jmeter Latency shares the measure as response time i.e. ms/seconds.

Your 7sec in browser is (Response time (Processing time + Latency) + Rendering time). In Jmeter rendering time is not present (As it is not a browser). Though your rendering is very low as compared to response time but in cases heavy content websites rendering time is comparable. Thus should be considered.

I hope this clears your doubts :)

like image 199
Nachiket Kate Avatar answered Sep 28 '22 06:09

Nachiket Kate