jakarta-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <philippe.moua...@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:48:39 GMT
For completeness, error I get when HTTPHC3 is used:
<httpSample t="216" it="0" lt="0" ts="1316780885416" s="false" lb="5 HTTP
Request" rc="Non HTTP response code:
org.apache.commons.httpclient.NoHttpResponseException" rm="Non HTTP response
message: The server jakarta.apache.org failed to respond" tn="Thread Group
1-1" dt="text" de="" by="1280" sc="1" ec="1" ng="50" na="50"
hn="MBP-PMD.local">
  <responseHeader class="java.lang.String"></responseHeader>
  <requestHeader class="java.lang.String"></requestHeader>
  <responseData
class="java.lang.String">org.apache.commons.httpclient.NoHttpResponseException:
The server jakarta.apache.org failed to respond
    at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1976)
    at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
    at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
    at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
    at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    at
org.apache.jmeter.protocol.http.sampler.HTTPHC3Impl.sample(HTTPHC3Impl.java:245)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:62)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1019)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1005)
    at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:387)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:280)
    at java.lang.Thread.run(Thread.java:680)
</responseData>

Regards
Philippe

On Fri, Sep 23, 2011 at 2:45 PM, Milamber <milamber@apache.org> wrote:

>
>
> Le 23/09/2011 12:07, sebb a ecrit :
> > 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?
> >
>
> Yes with retrycount=3 and HC4, no errors (see above).
>
> Milamber
>
> > S.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: dev-help@jakarta.apache.org
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: dev-help@jakarta.apache.org
>
>


-- 
Cordialement.
Philippe Mouawad.
Ubik-Ingénierie

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message