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
Milamber <[email protected]> Fri, 23 Sep 2011 12:45:04 +0000
| Newsgroups | gmane.comp.jakarta.cactus.devel |
|---|---|
| Organization | Apache Software Fondation |
| Message-ID | <[email protected]> |
Le 23/09/2011 12:07, sebb a ecrit : > 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? > Yes with retrycount=3 and HC4, no errors (see above). Milamber > S. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > >