2

I have a Jmeter plan which has couple of samples.

While running only the first time the connec time is non-zero positive number otherwise it is coming out to be 0 for all the other samples

the script is a recorded one. enter image description here

2

Check keep-alive settings of your samplers. With keep-alive turned on for all samplers each thread would establish connection only once, at the start of test, and reuse it for other requests.

2

This value of connection time and keep-alive setting, is more usable when application is running on SSL handshake. If this setting is on and once the connection has been established, response times will decrease. Connection time value is important to know if the changes in response times you’re seeing are caused by these connections being established or if they are due to a resource being exhausted.

Earlier versions of JMeter doesn't show Connection time as a separate parameter, the latency in JMeter includes the connection time. So you’ll need to subtract the connect time from latency to get pure latency value.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.