jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <>
Subject HttpClient 4.2.6 : ManagedClientConnectionImpl way of checking stale connection and Performances
Date Sun, 08 Dec 2013 20:31:56 GMT
Profiling JMeter, I noticed an important number of SocketTimeoutException
being triggered without any impact on response status.

I investigated it a bit deeper and find out it affected only HttpClient
Looking a bit deeper, it is due to connection stale check which is enabled
by default.
This check sets a timeout to 1ms , see :
- org.apache.http.impl.AbstractHttpClientConnection#isStale

I wonder if it's a good idea to keep it enabled by default as with high
number of Threads and throughput it means a huge number of Exception.

HttpClient 3 has same issue.


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