jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: HTTP response code: -1
Date Tue, 20 Mar 2007 13:29:16 GMT
Thanks very much - I've updated the Bug with what appears to be the cause.

Bug 38902 was the other one that mentioned -1 as a response code;
unfortunately the fix to that is what caused the current NPE...

S.
On 20/03/07, GFT_AL <andreas.laager@gft.com> wrote:
>
> Done. Bug #41902. The jmx file is also attached.
>
>
> sebb-2 wrote:
> >
> > On 20/03/07, GFT_AL <andreas.laager@gft.com> wrote:
> >>
> >> I'm using an 'HTTP Request' not an 'HTTP Request HTTPClient'.
> >>
> >> Actually the response code is not the original problem I have with
> >> JMeter. I
> >> try to request an https site. If I request the home (e.g
> >> https://myServer/home/) I get redirected to the page I want ( e.g.
> >> .../home/page1) but with response code -1. If I request the page directly
> >> (https://myServer/home/page1) I get nothing back in the results tree, not
> >> even an entry in the tree on the left side. The only thing I found is a
> >> NullPointerException in the JMeter.log.
> >
> > Raise a Bugzilla issue for the NPE, then go back to it and attach the
> > full jmeter.log file please.
> >
> >> I hoped that the response code -1 can give me a hint where the problem
> >> is.
> >> Maybe it's better to open a new thread with my original problem.
> >>
> >> Thanks
> >>
> >>
> >>
> >> sebb-2 wrote:
> >> >
> >> > I think someone else reported seeing strange status codes a while back.
> >> >
> >> > -1 is not a valid success code, which is why the sample result is
> >> > marked as failed.
> >> >
> >> > I assume that you must be using a nightly build otherwise there would
> >> > not be an exclamation mark.
> >> >
> >> > Are you using the HTTP Client sampler or the original sampler?
> >> >
> >> > JMeter gets the status code from the HTTP protocol stack, so the
> >> > problem is either in their interpretation of the status line, or the
> >> > server actually returned the code -1. It is not JMeter inventing the
> >> > value.
> >> >
> >> > If this problem is repeatable, perhaps you could use a network
> >> > analyser to check if it is the server or not. Or I could add some
> >> > debug to the samplers later (perhaps this evening).
> >> >
> >> > On 20/03/07, GFT_AL <andreas.laager@gft.com> wrote:
> >> >>
> >> >> Hi
> >> >>
> >> >> I use a 'HTTP Request' to an https address. When I enter only the
> >> server
> >> >> name and the entry path I get redirected correctly. Also the content
> >> in
> >> >> the
> >> >> 'Response Data' seems to be correct but the tree shows a red
> >> exclamation
> >> >> mark und the 'Sampler Result' has following content:
> >> >>
> >> >> Thread Name: Thread Group 1-1
> >> >> Sample Start: Tue Mar 20 09:17:44 CET 2007
> >> >> Load time: 781
> >> >> HTTP response code: -1
> >> >> HTTP response message: Found
> >> >>
> >> >> Does someone know what this -1 means?
> >> >>
> >> >> Thanks
> >> >> AL
> >> >> --
> >> >> View this message in context:
> >> >> http://www.nabble.com/HTTP-response-code%3A--1-tf3432220.html#a9567950
> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >> >>
> >> >>
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/HTTP-response-code%3A--1-tf3432220.html#a9570306
> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/HTTP-response-code%3A--1-tf3432220.html#a9572129
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message