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 11:05:07 UTC

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.

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

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

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

Thanks for your quick responses & inputs... I am working on this issue to
get it resolved...

Thanks,
Mohamed Niyas M


On 8/13/08, sebb <se...@gmail.com> wrote:
>
> On 12/08/2008, Mohamed Niyas <ni...@gmail.com> 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.
> >
> >  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)
> >
> >
>
> This error is generated by JMeter when it detects a redirect loop.
>
> If you turn off "Follow Redirects", you can see better what is happening.
>
> Probably a missing variable or header that the new version of the
> software expects.
>
> Ask the developers what has changed ...
>
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> >  Regards,
> >
> > Mohamed Niyas M
> >  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
>
>


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

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

Posted by sebb <se...@gmail.com>.
On 12/08/2008, Mohamed Niyas <ni...@gmail.com> 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.
>
>  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)
>
>

This error is generated by JMeter when it detects a redirect loop.

If you turn off "Follow Redirects", you can see better what is happening.

Probably a missing variable or header that the new version of the
software expects.

Ask the developers what has changed ...

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>  Regards,
>
> Mohamed Niyas M
>  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