Author: sebb
Date: Fri Sep 23 15:54:27 2011
New Revision: 1174851
URL: http://svn.apache.org/viewvc?rev=1174851&view=rev
Log:
Change default retry count to 1
Modified:
jakarta/jmeter/trunk/bin/jmeter.properties
jakarta/jmeter/trunk/xdocs/changes.xml
jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml
Modified: jakarta/jmeter/trunk/bin/jmeter.properties
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/bin/jmeter.properties?rev=1174851&r1=1174850&r2=1174851&view=diff
==============================================================================
--- jakarta/jmeter/trunk/bin/jmeter.properties (original)
+++ jakarta/jmeter/trunk/bin/jmeter.properties Fri Sep 23 15:54:27 2011
@@ -327,11 +327,11 @@ log_level.jorphan=INFO
# Apache HttpComponents HTTPClient configuration (HTTPClient4)
#---------------------------------------------------------------------------
-# Number of retries to attempt (default 0)
-#httpclient4.retrycount=0
+# Number of retries to attempt (default 1)
+#httpclient4.retrycount=1
-# Number of retries to attempt (default 3)
-#httpclient3.retrycount=3
+# Number of retries to attempt (default 1)
+#httpclient3.retrycount=1
#---------------------------------------------------------------------------
# Results file configuration
Modified: jakarta/jmeter/trunk/xdocs/changes.xml
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/changes.xml?rev=1174851&r1=1174850&r2=1174851&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/changes.xml (original)
+++ jakarta/jmeter/trunk/xdocs/changes.xml Fri Sep 23 15:54:27 2011
@@ -71,9 +71,13 @@ To override the default local language f
<h2>Incompatible changes</h2>
<p>
-The HttpClient4 sampler as implemented in version 2.5 used a retry count of 3.
-As this can hide server errors, JMeter now sets the retry count to 0 to
prevent any automatic retries.
-This can be overridden by setting the JMeter property
<b>httpclient4.retrycount</b>.
+The HttpClient4 and Commons HttpClient 3.1 samplers previously used a retry
count of 3.
+This has been changed to default to 1, to be compatible with the Java
implementation.
+The retry count can be overridden by setting the relevant JMeter property, for
example:
+<pre>
+httpclient4.retrycount=3
+httpclient3.retrycount=3
+</pre>
</p>
<h2>Bug fixes</h2>
@@ -83,7 +87,6 @@ This can be overridden by setting the JM
<li>Fix HttpClient 4 sampler so it reuses HttpClient instances and connections
where possible.</li>
<li>Bug 51863 - Lots of ESTABLISHED connections with HttpClient 4
implementation (ws HttpClient 3.1 impl)</li>
<li>Bug 51750 - Retrieve all embedded resources doesn't follow IFRAME</li>
-<li>Change the default so the HttpClient 4 sampler does not retry</li>
<li>Bug 51752 - HTTP Cache is broken when using "Retrieve all embedded
resources" with concurrent pool</li>
<li>Bug 39219 - HTTP Server: You can't stop it after File->Open</li>
<li>Bug 51775 - Port number duplicates in Host header when capturing by
HttpClient (3.1 and 4.x)</li>
@@ -145,7 +148,8 @@ This can be overridden by setting the JM
<h3>HTTP Samplers</h3>
<ul>
<li>Bug 51380 - Control reuse of cached SSL Context from iteration to
iteration</li>
-<li>Bug 51882 - HTTPHC3Client uses a default retry count of 3, make it
configurable</li>
+<li>Bug 51882 - HTTPHC3Client uses a default retry count of 3, make it
configurable; default is now 1</li>
+<li>Change the default HttpClient 4 sampler retry count to 1</li>
</ul>
<h3>Other samplers</h3>
Modified: jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml?rev=1174851&r1=1174850&r2=1174851&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml Fri Sep 23
15:54:27 2011
@@ -377,9 +377,13 @@ Optional properties to allow change the
</p>
<p>
<b>Retry handling</b><br></br>
-In version 2.5 of JMeter, the HttpClient4 sampler used the default retry
count, which was 3.
-As this can hide server errors, JMeter now sets the retry count to 0 to
prevent any automatic retries.
-This can be overridden by setting the JMeter property
<b>httpclient4.retrycount</b>.
+In version 2.5 of JMeter, the HttpClient4 and Commons HttpClient 3.1 samplers
used the default retry count, which was 3.
+In later versions, the retry count has been set to 1, which is what the Java
implementation appears to do.
+The retry count can be overridden by setting the relevant JMeter property, for
example:
+<pre>
+httpclient4.retrycount=3
+httpclient3.retrycount=3
+</pre>
</p>
<links>
<link href="test_plan.html#assertions">Assertion</link>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]