Bug 51882 - HTTPHC3Client uses a default retry count of 3, make it configurable
HTTPHC3Client uses a default retry count of 3, make it configurable
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: HTTP
2.5.1
All All
: P2 enhancement (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2011-09-23 12:34 UTC by Philippe Mouawad
Modified: 2011-09-23 14:28 UTC (History)
1 user (show)



Attachments
Fix to issue (833 bytes, patch)
2011-09-23 12:36 UTC, Philippe Mouawad
Details | Diff
Fix to issue (2.02 KB, patch)
2011-09-23 12:36 UTC, Philippe Mouawad
Details | Diff
Test Case that shows error when retry is set to 0 (38.58 KB, application/xml)
2011-09-23 12:40 UTC, Philippe Mouawad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2011-09-23 12:34:51 UTC
Add a property named :
#httpclient3.retrycount=0

to enable configuring Retry count which will now default to 0 (no retry)

Regards
Philippe Mouawad
Comment 1 Philippe Mouawad 2011-09-23 12:36:28 UTC
Created attachment 27577 [details]
Fix to issue
Comment 2 Philippe Mouawad 2011-09-23 12:36:47 UTC
Created attachment 27578 [details]
Fix to issue
Comment 3 Philippe Mouawad 2011-09-23 12:40:33 UTC
Created attachment 27579 [details]
Test Case that shows error when retry is set to 0

Test case that uses HTTPHC3.
Same test case as issue 51863 to show the error also occurs with HTTPHC3 when retry is set to 0.
Regards
Philippe Mouawad
Comment 4 Sebb 2011-09-23 13:58:39 UTC
Thanks!

I've applied the patch, but changed the default to 3 for compatibility.

We can easily change this later.

URL: http://svn.apache.org/viewvc?rev=1174767&view=rev
Log:
Bug 51882 - HTTPHC3Client uses a default retry count of 3, make it configurable

Modified:
   jakarta/jmeter/trunk/bin/jmeter.properties
   jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.java
   jakarta/jmeter/trunk/xdocs/changes.xml