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.

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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to