sigh.
Possibly you havent added the HttpCookieManager (ASPSessionID or something
like that is needed to maintain your session or url rewriting).
Compare with browser  -
http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour

regards
deepak


On Wed, Sep 2, 2009 at 5:49 PM, Keet <[email protected]> wrote:

>
> Hi,
>
> Im currently trying to test an asp.net app using jmeter which requires a
> login. By using badboy I can see the parameters required for the login
> request are:
> _eventtarget
> _viewstate
> _eventvalidation
>
> By using regex I can obtain required params from the previous request and
> submit with login info.
>
> The asp requests works by submitting the request to itself(default.aspx)
> and
> then redirects to main.aspx if login is successfull.
>
> This is where my problems start. When I submit the asp form the request
> redirects to main.aspx( meaning login was successfull). However it
> immediately redirects back to default.aspx. Therefore although the original
> requests logs in successfully when the redirect to main.aspx occurs I am no
> longer logged in. Dose anyone know why i would be logged out immediately. i
> have selected to follow redirects.
>
> If anyone has any help it would be greatly appreciated. I am new to jmeter
> and thought I was getting to grips with it untill this problem occurred.
>
> thanks in advance
> K
>
>
> --
> View this message in context:
> http://www.nabble.com/Jmeter-ASP.net-tp25268179p25268179.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to