jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Sitnikov <sitnikov.vladi...@gmail.com>
Subject httpclient4.time_to_live defaults to 2000 which is way less than the typical browser behavior
Date Thu, 12 Dec 2019 10:21:22 GMT
Hi,

JMeter defaults to 2 seconds timeout for keep-alive HTTP connections, which
seems to be much less than the typical browser configuration.

https://en.wikipedia.org/wiki/HTTP_persistent_connection#Use_in_web_browsers
,
https://fastmail.blog/2011/06/28/http-keep-alive-connection-timeouts/
suggest that:
IE: 60 sec
FireFox: 115 sec
Chrome: 300 sec

What do you think if we bump the default for httpclient4.time_to_live from
2000 to 120000 (==2 min)?

I guess the current setting of 2000 was just a copy-paste result when the
setting was initially implemented.
Here's the commit that introduces the feature:
https://github.com/apache/jmeter/commit/eaaf1be40908ba5f74e7baac9ea985cc62de6a6f#diff-4e3471b25c91730a99ed23402467b9eaR146

Vladimir

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message