jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Stover <mstov...@apache.org>
Subject Re: Redirection not working with login
Date Fri, 03 Sep 2004 20:10:36 GMT
Is not redirecting an option?

On Fri, 2004-09-03 at 14:55, asureka@ncsu.edu wrote:
> Hello,
> 
> I have the 2.0.1 version. I tried setting "Redirect Automatically" but it
> still does not work.
> 
> Thanks,
> Ashish
> 
> 
> > Not sure what version you have or what version this was introduced in, but
> > you may want to try setting
> > "Redirect Automatically" - in addition to Follow Redirects.  I saw this
> > same
> > behavior and setting Redirect
> > Automatically fixed it.
> >
> > J
> >
> > ----- Original Message -----
> > From: <asureka@ncsu.edu>
> > To: <jmeter-user@jakarta.apache.org>
> > Sent: Friday, September 03, 2004 12:15 PM
> > Subject: Redirection not working with login
> >
> >
> >> Hello,
> >>
> >> I have used the proxy server to record a simple test script. once the
> >> test
> >> scripts are recorded I want to run it. I am having some problem with the
> >> redirection getting to work with the login while running the recorded
> >> test
> >> scripts. The test case is as follows.
> >>
> >> There is a Login.asp page. The parameters to be sent with the request
> >> are
> >> the username and password. This is a POST request and for this request I
> >> have set the Follow Redirects and Use KeepAlive option in the JMeter.
> >>
> >>
> >> Once the Login.asp page is submitted it returns an HTTP response code of
> >> 302. The URL requested after submitting the Login.asp page is
> >> HomePage.asp
> >> but the redirected URL is MainMenu.asp.
> >>
> >> When I run the test script after recording it, the MainMenu.asp returns
> >> the response data as an HTML page saying that "you are not logged in,
> >> Please log in". This HTML page is returned if I directly invoke the
> >> MainMenu.asp page without gowing through the Login.asp page. I have set
> >> the  Follow Redirects and Use KeepAlive option in the JMeter for all the
> >> three pages Login.asp, HomePage.asp and Mainmenu.asp. I have also set
> >> the
> >> correct "send parameters with the request" in both the HomePage.asp and
> >> MainMenu.asp page supplying the username and password.
> >>
> >> Any help is appreciated,
> >>
> >> Thanks,
> >> Ashish
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>
> >>
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
-- 
Michael Stover <mstover1@apache.org>
Apache Software Foundation


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


Mime
View raw message