roozbeh_al
roozbeh_al

Reputation: 47

Connection timeout in JMeter does not work

enter image description here

As shown in the above image, I have set a connection timeout of 20ms for the requests. However, I'm still getting sample times of over 20 (below image).

enter image description here

What might be the problem?

Upvotes: 0

Views: 954

Answers (1)

Dmitri T
Dmitri T

Reputation: 168157

  1. Ensure that your add obvervation15 is a HTTP Request sampler, HTTP Request Defaults will work only for the HTTP Request samplers, any other sampler types won't respect the timeout setting
  2. If the add obvervation15 is a HTTP Request sampler - ensure that it's in the HTTP Request Defaults' scope otherwise the timeouts won't be applied

Given above 2 conditions are met the timeouts will be respected:

enter image description here

Upvotes: 1

Related Questions