On 13/08/2008, Mohamed Niyas <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  I just thought of recording the scenario again thru proxy server in order to
>  closely watch the new variables if any in the latest build...
>
>  While recoding, i got the following errors below in the jmeter.log file.
>  Major errors are marked as red color below.
>
>  If anybody came across this error, just share your ideas... Any
>  thoughts/suggestions are welcome.
>

Which version of JMeter?

>  Log Contents:
>  
> --------------------------------------------------------------------------------------------------------------------------
>  2008/08/13 09:10:52 INFO - jmeter.protocol.http.proxy.Daemon: Proxy: OK
>  2008/08/13 09:10:52 INFO - jmeter.protocol.http.proxy.Daemon: Creating
>  Daemon Socket... on port 8080
>  2008/08/13 09:10:52 INFO - jmeter.protocol.http.proxy.Daemon: Proxy up and
>  running!
>  2008/08/13 09:10:56 INFO - jmeter.protocol.http.proxy.FormCharSetFinder:
>  Using htmlparser version: 2.0 (Release Build Sep 17, 2006)
>  2008/08/13 09:10:56 INFO - jmeter.protocol.http.proxy.FormCharSetFinder:
>  Using htmlparser version: 2.0 (Release Build Sep 17, 2006)
>  2008/08/13 09:10:56 INFO - jmeter.protocol.http.proxy.FormCharSetFinder:
>  Using htmlparser version: 2.0 (Release Build Sep 17, 2006)
>  2008/08/13 09:10:56 INFO - jmeter.protocol.http.proxy.FormCharSetFinder:
>  Using htmlparser version: 2.0 (Release Build Sep 17, 2006)
>  2008/08/13 09:10:56 INFO - jmeter.protocol.http.proxy.FormCharSetFinder:
>  Using htmlparser version: 2.0 (Release Build Sep 17, 2006)
>  2008/08/13 09:10:56 INFO - jmeter.protocol.http.proxy.FormCharSetFinder:
>  Using htmlparser version: 2.0 (Release Build Sep 17, 2006)
>  2008/08/13 09:10:56 INFO - jmeter.protocol.http.sampler.HTTPSampler: Error
>  Response Code: 404
>  2008/08/13 09:10:56 INFO - jmeter.protocol.http.proxy.FormCharSetFinder:
>  Using htmlparser version: 2.0 (Release Build Sep 17, 2006)
>  2008/08/13 09:10:56 INFO - jmeter.protocol.http.proxy.FormCharSetFinder:
>  Using htmlparser version: 2.0 (Release Build Sep 17, 2006)
>
>  2008/08/13 09:10:58 ERROR - jmeter.protocol.http.proxy.Proxy:
>  java.lang.IllegalArgumentException: protocol = http host = null
>   at sun.net.spi.DefaultProxySelector.select(Unknown Source)
>   at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
>   at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
>   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
>  Source)
>   at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown
>  Source)
>   at
>  
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.disconnect(HTTPSampler.java:559)
>   at
>  
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:553)
>   at
>  
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:889)
>   at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:163)
>
>  2008/08/13 09:10:58 WARN - jmeter.protocol.http.proxy.Proxy: Exception while
>  writing error java.net.SocketException: Software caused connection abort:
>  socket write error
>   at java.net.SocketOutputStream.socketWrite0(Native Method)
>   at java.net.SocketOutputStream.socketWrite(Unknown Source)
>   at java.net.SocketOutputStream.write(Unknown Source)
>   at java.io.DataOutputStream.writeBytes(Unknown Source)
>   at
>  
> org.apache.jmeter.protocol.http.proxy.Proxy.writeErrorToClient(Proxy.java:269)
>
>  2008/08/13 09:14:23 INFO - jmeter.protocol.http.proxy.FormCharSetFinder:
>  Using htmlparser version: 2.0 (Release Build Sep 17, 2006)
>  2008/08/13 09:14:36 INFO - jmeter.protocol.http.proxy.FormCharSetFinder:
>  Using htmlparser version: 2.0 (Release Build Sep 17, 2006)
>  2008/08/13 09:14:54 INFO - jmeter.protocol.http.proxy.Daemon: Proxy Server
>  stopped
>   at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:190)
>
>  
> --------------------------------------------------------------------------------------------------------------------------
>  On 8/13/08, sebb <[EMAIL PROTECTED]> wrote:
>
> >
>  > On 12/08/2008, Mohamed Niyas <[EMAIL PROTECTED]> 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
>  > >  [EMAIL PROTECTED]
>  > >  [EMAIL PROTECTED]
>  > >
>  >
>
> > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: [EMAIL PROTECTED]
>  > For additional commands, e-mail: [EMAIL PROTECTED]
>  >
>  >
>
>
>
> --
>  Regards,
>  Mohamed Niyas M
>  Mobile: 98804 59080
>
> [EMAIL PROTECTED]
>  [EMAIL PROTECTED]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to