You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Mohamed Niyas <ni...@gmail.com> on 2008/08/12 12:52:01 UTC

Urgent : Query | Regarding "Non HTTP response code: java.net.ProtocolException"

Dear team,

I am facing some serious errors while executing my jmx scripts. up to last
week all of my scripts were working without any issue.

Yesterday our Dev team has given the latest build. After than none of my
scripts are working & throwing the follwing errors.

Even I created some of the scripts from scratch again with the HTTP Proxy
server by recording option. While recording all the samplers results in the
tree view shown as green (i.e. it succeeded). After recording when i re run
the same flow, it is throwing the below errors.

In the jmeter window it is showing as
*Response code: Non HTTP response code: java.net.ProtocolException
Response message: Non HTTP response message: Server redirected too many
times (20)*

Can anyone please let me know what causes this sudden errors now?
Please share your valuable thoughts on this issue as ealry as possible

I have copied the jmeter log contents here.


> *Jmeter Log Contents:*
>
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> 2008/08/12 14:21:31 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
> readResponse: java.net.ProtocolException: Server redirected too many times
> (20)
> 2008/08/12 14:21:31 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
> Cause: java.net.ProtocolException: Server redirected too many times (20)
> 2008/08/12 14:21:41 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
> readResponse: java.net.ProtocolException: Server redirected too many times
> (20)
> 2008/08/12 14:21:41 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
> Cause: java.net.ProtocolException: Server redirected too many times (20)
> 2008/08/12 14:21:51 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
> readResponse: java.net.ProtocolException: Server redirected too many times
> (20)
> 2008/08/12 14:21:51 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
> Cause: java.net.ProtocolException: Server redirected too many times (20)
> 2008/08/12 14:22:01 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
> readResponse: java.net.ProtocolException: Server redirected too many times
> (20)
> 2008/08/12 14:22:01 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
> Cause: java.net.ProtocolException: Server redirected too many times (20)
>
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> Regards,
> Mohamed Niyas M
> niyas.mohd@gmail.com
> to_niyas@yahoo.co.in
>



-- 
Regards,
Mohamed Niyas M
Mobile: 98804 59080
niyas.mohd@gmail.com
to_niyas@yahoo.co.in

Re: Urgent : Query | Regarding "Non HTTP response code: java.net.ProtocolException"

Posted by sebb <se...@gmail.com>.
OK, thanks for confirming that the problem is solved.

On 18/08/2008, Mohamed Niyas <ni...@gmail.com> wrote:
> Hi Team,
>
>  Thanks for the help. I have downloaded the latest version 2.3.2.
>  I did not face any protocol exception in the newer release.
>
>  It worked fine...
>
>  Regards
>
> Mohamed Niyas M
>
>
>  On 8/12/08, Ronan Klyne <ro...@groupbc.com> wrote:
>  >
>  > Mohamed Niyas wrote:
>  >
>  >> Dear team,
>  >>
>  >> I am facing some serious errors while executing my jmx scripts. up to last
>  >> week all of my scripts were working without any issue.
>  >>
>  >> Yesterday our Dev team has given the latest build. After than none of my
>  >> scripts are working & throwing the follwing errors.
>  >>
>  >> Even I created some of the scripts from scratch again with the HTTP Proxy
>  >> server by recording option. While recording all the samplers results in
>  >> the
>  >> tree view shown as green (i.e. it succeeded). After recording when i re
>  >> run
>  >> the same flow, it is throwing the below errors.
>  >>
>  >> In the jmeter window it is showing as
>  >> *Response code: Non HTTP response code: java.net.ProtocolException
>  >> Response message: Non HTTP response message: Server redirected too many
>  >> times (20)*
>  >>
>  >> Can anyone please let me know what causes this sudden errors now?
>  >> Please share your valuable thoughts on this issue as ealry as possible
>  >>
>  >
>  > This is caused by your web application returning a sequence of 20 HTTP
>  > redirect responses - this usually indicates a fault in the application, or
>  > at least, a horrendous inefficiency.
>  >
>  >        # r
>  >
>  >
>  >> I have copied the jmeter log contents here.
>  >>
>  >>
>  >> *Jmeter Log Contents:*
>  >>>
>  >>>
>  >>> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>  >>> 2008/08/12 14:21:31 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>  >>> readResponse: java.net.ProtocolException: Server redirected too many
>  >>> times
>  >>> (20)
>  >>> 2008/08/12 14:21:31 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>  >>> Cause: java.net.ProtocolException: Server redirected too many times (20)
>  >>> 2008/08/12 14:21:41 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>  >>> readResponse: java.net.ProtocolException: Server redirected too many
>  >>> times
>  >>> (20)
>  >>> 2008/08/12 14:21:41 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>  >>> Cause: java.net.ProtocolException: Server redirected too many times (20)
>  >>> 2008/08/12 14:21:51 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>  >>> readResponse: java.net.ProtocolException: Server redirected too many
>  >>> times
>  >>> (20)
>  >>> 2008/08/12 14:21:51 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>  >>> Cause: java.net.ProtocolException: Server redirected too many times (20)
>  >>> 2008/08/12 14:22:01 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>  >>> readResponse: java.net.ProtocolException: Server redirected too many
>  >>> times
>  >>> (20)
>  >>> 2008/08/12 14:22:01 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>  >>> Cause: java.net.ProtocolException: Server redirected too many times (20)
>  >>>
>  >>>
>  >>>
>  >>> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>  >>> Regards,
>  >>> Mohamed Niyas M
>  >>> niyas.mohd@gmail.com
>  >>> to_niyas@yahoo.co.in
>  >>>
>  >>>
>  >>
>  >>
>  >>
>  >
>  > --
>  > Ronan Klyne
>  > Business Collaborator Developer
>  > Tel: +44 01189 028518
>  > ronan.klyne@groupbc.com
>  > www.groupbc.com
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>
>
>
> --
>  Regards,
>  Mohamed Niyas M
>  Mobile: 98804 59080
>
> niyas.mohd@gmail.com
>  to_niyas@yahoo.co.in
>

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


Re: Urgent : Query | Regarding "Non HTTP response code: java.net.ProtocolException"

Posted by Mohamed Niyas <ni...@gmail.com>.
Hi Team,

Thanks for the help. I have downloaded the latest version 2.3.2.
I did not face any protocol exception in the newer release.

It worked fine...

Regards
Mohamed Niyas M

On 8/12/08, Ronan Klyne <ro...@groupbc.com> wrote:
>
> Mohamed Niyas wrote:
>
>> Dear team,
>>
>> I am facing some serious errors while executing my jmx scripts. up to last
>> week all of my scripts were working without any issue.
>>
>> Yesterday our Dev team has given the latest build. After than none of my
>> scripts are working & throwing the follwing errors.
>>
>> Even I created some of the scripts from scratch again with the HTTP Proxy
>> server by recording option. While recording all the samplers results in
>> the
>> tree view shown as green (i.e. it succeeded). After recording when i re
>> run
>> the same flow, it is throwing the below errors.
>>
>> In the jmeter window it is showing as
>> *Response code: Non HTTP response code: java.net.ProtocolException
>> Response message: Non HTTP response message: Server redirected too many
>> times (20)*
>>
>> Can anyone please let me know what causes this sudden errors now?
>> Please share your valuable thoughts on this issue as ealry as possible
>>
>
> This is caused by your web application returning a sequence of 20 HTTP
> redirect responses - this usually indicates a fault in the application, or
> at least, a horrendous inefficiency.
>
>        # r
>
>
>> I have copied the jmeter log contents here.
>>
>>
>> *Jmeter Log Contents:*
>>>
>>>
>>> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>> 2008/08/12 14:21:31 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>>> readResponse: java.net.ProtocolException: Server redirected too many
>>> times
>>> (20)
>>> 2008/08/12 14:21:31 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>>> Cause: java.net.ProtocolException: Server redirected too many times (20)
>>> 2008/08/12 14:21:41 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>>> readResponse: java.net.ProtocolException: Server redirected too many
>>> times
>>> (20)
>>> 2008/08/12 14:21:41 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>>> Cause: java.net.ProtocolException: Server redirected too many times (20)
>>> 2008/08/12 14:21:51 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>>> readResponse: java.net.ProtocolException: Server redirected too many
>>> times
>>> (20)
>>> 2008/08/12 14:21:51 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>>> Cause: java.net.ProtocolException: Server redirected too many times (20)
>>> 2008/08/12 14:22:01 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>>> readResponse: java.net.ProtocolException: Server redirected too many
>>> times
>>> (20)
>>> 2008/08/12 14:22:01 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>>> Cause: java.net.ProtocolException: Server redirected too many times (20)
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>> Regards,
>>> Mohamed Niyas M
>>> niyas.mohd@gmail.com
>>> to_niyas@yahoo.co.in
>>>
>>>
>>
>>
>>
>
> --
> Ronan Klyne
> Business Collaborator Developer
> Tel: +44 01189 028518
> ronan.klyne@groupbc.com
> www.groupbc.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>


-- 
Regards,
Mohamed Niyas M
Mobile: 98804 59080
niyas.mohd@gmail.com
to_niyas@yahoo.co.in

Re: Urgent : Query | Regarding "Non HTTP response code: java.net.ProtocolException"

Posted by Ronan Klyne <ro...@groupbc.com>.
Mohamed Niyas wrote:
> Dear team,
> 
> I am facing some serious errors while executing my jmx scripts. up to last
> week all of my scripts were working without any issue.
> 
> Yesterday our Dev team has given the latest build. After than none of my
> scripts are working & throwing the follwing errors.
> 
> Even I created some of the scripts from scratch again with the HTTP Proxy
> server by recording option. While recording all the samplers results in the
> tree view shown as green (i.e. it succeeded). After recording when i re run
> the same flow, it is throwing the below errors.
> 
> In the jmeter window it is showing as
> *Response code: Non HTTP response code: java.net.ProtocolException
> Response message: Non HTTP response message: Server redirected too many
> times (20)*
> 
> Can anyone please let me know what causes this sudden errors now?
> Please share your valuable thoughts on this issue as ealry as possible

This is caused by your web application returning a sequence of 20 HTTP 
redirect responses - this usually indicates a fault in the application, 
or at least, a horrendous inefficiency.

	# r

> 
> I have copied the jmeter log contents here.
> 
> 
>> *Jmeter Log Contents:*
>>
>> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>> 2008/08/12 14:21:31 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>> readResponse: java.net.ProtocolException: Server redirected too many times
>> (20)
>> 2008/08/12 14:21:31 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>> Cause: java.net.ProtocolException: Server redirected too many times (20)
>> 2008/08/12 14:21:41 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>> readResponse: java.net.ProtocolException: Server redirected too many times
>> (20)
>> 2008/08/12 14:21:41 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>> Cause: java.net.ProtocolException: Server redirected too many times (20)
>> 2008/08/12 14:21:51 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>> readResponse: java.net.ProtocolException: Server redirected too many times
>> (20)
>> 2008/08/12 14:21:51 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>> Cause: java.net.ProtocolException: Server redirected too many times (20)
>> 2008/08/12 14:22:01 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>> readResponse: java.net.ProtocolException: Server redirected too many times
>> (20)
>> 2008/08/12 14:22:01 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
>> Cause: java.net.ProtocolException: Server redirected too many times (20)
>>
>>
>> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>> Regards,
>> Mohamed Niyas M
>> niyas.mohd@gmail.com
>> to_niyas@yahoo.co.in
>>
> 
> 
> 


-- 
Ronan Klyne
Business Collaborator Developer
Tel: +44 01189 028518
ronan.klyne@groupbc.com
www.groupbc.com

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