Glad it helped.

If the problem only occurs with "Redirect Automatically", then this is
a problem in the HTTP implementation (either standard Java or perhaps
HttpClient), not in JMeter.

If it occurs with "follow redirects", then this is done by JMeter.

If you are able to narrow the problem down, please let us know in case
there is a bug in JMeter.

S.
On 27/01/06, Paul Hunnisett <[EMAIL PROTECTED]> wrote:
> Disabling both redirect boxes appears to haev improved the situation
> massively - thanks
>
> On 1/27/06, sebb <[EMAIL PROTECTED]> wrote:
> >
> > I think you'll need to fix the redirect problem first.
> >
> > Try disabling "Follow Redirects" and "Redirect Automatically".
> >
> > See:
> >
> >
> > http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_Request
> >
> > On 27/01/06, Paul Hunnisett <[EMAIL PROTECTED]> wrote:
> > > One interesting thing in the log (th at I hadn't even realised exsted!)
> > is:
> > >
> > > 2006/01/27 12:12:40 ERROR - jmeter.protocol.http.sampler.HTTPSampler:
> > > java.net.ProtocolException: Server redirected too many  times (20)
> > >
> > >
> > > JMeter version is 2.1.1 and Java version is 1.4.2
> > >
> > > On 1/27/06, sebb <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Any messages in jmeter.log?
> > > >
> > > > Version of JMeter and Java?
> > > >
> > > > S.
> > > > On 27/01/06, Paul Hunnisett <[EMAIL PROTECTED]> wrote:
> > > > > I've tried to setup Jmeter so that it makes 2 requests to our web
> > > > server:
> > > > >
> > > > > 1) a GET request to the front page via https
> > > > > 2) a POST request to the Login with a username and password via
> > https
> > > > >
> > > > > The first request works quite happily - so I'm happy that it's not
> > https
> > > > > that's the issue, but the second one fails miserably...
> > > > >
> > > > > They are both recieving the same defaults from an HTTP request
> > Defaults
> > > > and
> > > > > the only difference is the method (GET then POST), the path and the
> > fact
> > > > > that the login request includes parameters.
> > > > >
> > > > > The result of the login request is:
> > > > >
> > > > > <sampleResult timeStamp="1138357593823" dataType="text"
> > > > threadName="myUWe
> > > > > Users 18-1" label="myUWE Login" time="8875" responseMessage="Non
> > HTTP
> > > > > response message" responseCode="Non HTTP response code"
> > > > > success="false"><binary>java.io.IOException: Stream closed&#13;
> > > > >    at java.io.BufferedInputStream.getInIfOpen(Unknown Source)&#13;
> > > > >    at java.io.BufferedInputStream.read1(Unknown Source)&#13;
> > > > >    at java.io.BufferedInputStream.read(Unknown Source)&#13;
> > > > >    at java.io.FilterInputStream.read(Unknown Source)&#13;
> > > > >    at
> > org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(
> > > > > HTTPSampler.java:235)&#13;
> > > > >    at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(
> > > > > HTTPSampler.java:449)&#13;
> > > > >    at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample
> > (
> > > > > HTTPSamplerBase.java:514)&#13;
> > > > >    at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample
> > (
> > > > > HTTPSamplerBase.java:503)&#13;
> > > > >    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java
> > > > > :247)&#13;
> > > > >    at java.lang.Thread.run(Unknown Source)&#13;
> > > > > </binary></sampleResult>
> > > > >
> > > > > Can anyone shed any light on why this is failing?  I can quite
> > happily
> > > > log
> > > > > in via a browser, so I know that Login is working...
> > > > >
> > > > > Paul Hunnisett
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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]
> >
> >
>
>

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

Reply via email to