As per following discussion: - https://mail-archives.apache.org/mod_mbox/jmeter-dev/201912.mbox/%3cCAB=Je-EY2ZqJh6itS_FK241wRY9o-+QtUA40+wcum+G4VZLp9w@mail.gmail.com%3e httpclient4.time_to_live defaults to 2000 which is way less than the typical browser behavior 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 Discussion proposes to switch values for: - httpclient4.time_to_live from 2000 to 60000 This value is a consequence: httpclient4.validate_after_inactivity from 1700 to 4900
This is an automated email from the ASF dual-hosted git repository. pmouawad pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/jmeter.git The following commit(s) were added to refs/heads/master by this push: new 9fd406b Bug 64289 - Make httpclient4.time_to_live defaults to 60000 to be closer to typical browser behavior 9fd406b is described below commit 9fd406bb8f604d62981827dfe546a7027dbb76df Author: pmouawad <p.mouawad@ubik-ingenierie.com> AuthorDate: Mon Mar 30 09:12:44 2020 +0200 Bug 64289 - Make httpclient4.time_to_live defaults to 60000 to be closer to typical browser behavior --- bin/jmeter.properties | 4 ++-- .../java/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java | 4 ++-- xdocs/changes.xml | 1 + xdocs/usermanual/properties_reference.xml | 4 ++-- 4 files changed, 7 insertions(+), 6 deletions(-) This is an automated email from the ASF dual-hosted git repository. pmouawad pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/jmeter.git The following commit(s) were added to refs/heads/master by this push: new da12f11 Bug 64289 - Make httpclient4.time_to_live defaults to 60000 to be closer to typical browser behavior da12f11 is described below commit da12f113a2d07d9e6c96b3940b2012056aa84a01 Author: pmouawad <p.mouawad@ubik-ingenierie.com> AuthorDate: Mon Mar 30 09:15:46 2020 +0200 Bug 64289 - Make httpclient4.time_to_live defaults to 60000 to be closer to typical browser behavior Mention in Incompatible changes --- xdocs/changes.xml | 2 ++ 1 file changed, 2 insertions(+)