On 23 September 2011 10:12, Milamber <milam...@apache.org> 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.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: dev-h...@jakarta.apache.org

Reply via email to