it doesnt matter where you got the script from .. for e,g. you might be sending out a recorded session cookie or session id. As always compare what your browser does with what your jmeter script does ...
On Wed, Sep 2, 2009 at 8:16 PM, Keet <keithoconno...@gmail.com> wrote: > > Thanks for the reply. > > Sorry but i should have stated in the original message that I used badboy > to > record the login process and then imported into jmeter. Once I had had the > test in jmeter i added regex to obtain _viewstate and _evenvalidation. > > Cookie manager etc were imported from badboy so should be correct. From > poeple's experience is there anything else which I need to change in my > imported bad boy script. > > Cheers > k > > > Deepak Shetty wrote: > > > > 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 <keithoconno...@gmail.com> 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: jmeter-user-unsubscr...@jakarta.apache.org > >> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/Jmeter-ASP.net-tp25268179p25269222.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > >