You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Jonathan Goldstein <go...@gmail.com> on 2007/06/06 18:23:28 UTC

Getting HTTP Error 302 Moved Temporarily

Hi,

I'm trying to get a test working that logs into a web application. After the
first request passes OK (to open the root path), the response for some other
requests is "302 Moved Temporarily".

I'm assuming that the login provides a session ID that I need to pass on to
the other requests. How can I do that? Any other advice?


Thanks,
Jonathan

Re: Getting HTTP Error 302 Moved Temporarily

Posted by sebb <se...@gmail.com>.
302 is a redirect.

Set  "Redirect Automatically" on the sampler.

Make sure you have added a Cookie Manager.

On 06/06/07, Jonathan Goldstein <go...@gmail.com> wrote:
> Hi,
>
> I'm trying to get a test working that logs into a web application. After the
> first request passes OK (to open the root path), the response for some other
> requests is "302 Moved Temporarily".
>
> I'm assuming that the login provides a session ID that I need to pass on to
> the other requests. How can I do that? Any other advice?
>
>
> Thanks,
> Jonathan
>

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