Re: svn commit: r1164186 - in /jakarta/jmeter/trunk: bin/jmeter.properties src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java xdocs/changes.xml xdocs/usermanual/component_reference.xml
sebb <[email protected]> Fri, 23 Sep 2011 13:07:18 +0100
| Newsgroups | gmane.comp.jakarta.cactus.devel |
|---|---|
| Message-ID | <CAOGo0Va_+zjK99s_gSEkbK+_r83KfqkNzU4aDc+G6AArO0T_FQ@mail.gmail.com> |
On 23 September 2011 10:12, Milamber <[email protected]> wrote: > Hello, > > (on JMeter 2.5.1RC1) > Don't retry automatically with HC4 sampler seems introduce a bug on load > tests using HC4. > > When you run a load test, some errors "The target server failed to > respond" can appear on response data. > > With wireshark, this error arrives at the end of TCP conversations: the > GET request is sent, but no server response (the connection has been > closed, I suppose). > > If I changes the property httpclient4.retrycount to 3, the load tests > works fine, with no errors. > > This bug is tested on Linux with JVM5/7 and WinXP with JVM7 > > Test case is the Simple Test Case on this bugs: > https://issues.apache.org/bugzilla/show_bug.cgi?id=51863 > > (Note: no errors with HC3.1) > (Questions: retrycount exists on HC3.1? if yes what default value?) > Looks like the HC3.1 retry count also defaults to 3. I don't now remember exactly why I overrode the setting. I vaguely remember seeing some retries in a test I was doing, and thinking it would be better to know about them. It is possible to revert to the previous behaviour - just define the JMeter property: httpclient4.retrycount=3 Could you retry the test with that setting and see if that fixes the bahaviour for you? S.