Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the default response timeout in JMeter?

Tags:

jmeter

Can anyone help to know about default response time in JMeter if we do not set any timeout in 'HTTP request' sampler?

Thanks.

like image 535
user28 Avatar asked Mar 11 '23 17:03

user28


1 Answers

It defaults to 0 (no timeout)

The recommended way of setting the timeout is using GUI.

If for some reason it doesn't play for you you can use the following properties:

  • user.properties file:

    • httpclient.timeout
  • httpclient.parameters file:

    • http.socket.timeout$Integer

Both files live under JMeter's "bin" folder, JMeter restart is required to pick the properties up after the change.

References:

  • Timeouts for http requests
  • Apache JMeter Properties Customization Guide
like image 174
Dmitri T Avatar answered Apr 27 '23 01:04

Dmitri T