jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <>
Subject Re: INFO (org.apache.commons.httpclient.HttpMethodDirector) - Redirect requested but followRedirects is disabled"
Date Fri, 17 Nov 2006 14:05:13 GMT
On 17/11/06, <> wrote:
> Hi All,
>                I am using Jmeter 2.2 and my sampler is Http
> RequestHTTPClient. I am using that to send web request to Tomcat 5.0.19
> server. I know that during log out of my application there is a
> redirection and I have the following two  checked boxes checked in all my
> requests including the one for log out.
> Follow Redirects

This means that JMeter follows redirects

> UseKeepAlive
> Jmeter is doing the redirection and I can see that in the View Results
> Tree listener as well. But I am getting the following message in my
> Jmeter.log file which I couldnt understand because I have already set
> "Follow Redirects" to true.
> INFO (org.apache.commons.httpclient.HttpMethodDirector) - Redirect
> requested but followRedirects is disabled"
> Can some one explain the reason for this weird behavior?

This is because "Redirect Automatically" is not enabled.

Redirect Automatically is handled by the HTTP protocol stack (not
JMeter) and is enabled or disabled by setting the appropriate options
in the stack.

It so happens that this option is called "followRedirects" by
HttpClient, which is where the confusion arises.

The message can be ignored - it is just saying that the HTTP Response
is a redirect, but HttpClient was asked to ignore redirects.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message