jakarta-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject 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
Date Fri, 23 Sep 2011 12:07:18 GMT
On 23 September 2011 10:12, Milamber <milamber@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-unsubscribe@jakarta.apache.org
For additional commands, e-mail: dev-help@jakarta.apache.org


Mime
View raw message