Hi, It's probably some specific piece of data that's missing from the login request. You can try to figure it out by capturing the requests and responses in your browser's developer tools, but you're probably better off getting some documentation about the specific login process you're testing, to ensure you're submitting the requests properly.
-Steve On Thu, Jun 25, 2015 at 7:31 PM, Jesse Zhang <[email protected]> wrote: > Hi, > Initially encountering the login problem,i searched some solutions which > suggest me to add the > cookie manager.Then I added the cookie manager into the test plan,but it > doesnt work.The login action is still failed.It really make me > confused.Give me some advice please. > Thank u very much. > > Jesse > > > > > > On Thursday, June 25, 2015 4:41 PM, Adrian Speteanu <[email protected]> > wrote: > Hi, > > Jmeter doesn't run client side code out of the box. However, you can > properly implement all HTTP calls with it, regardless of how are they > composed in the browser. > > From my experience with login implementations, it's usually a header or > dynamically generated param or cookie that is not properly implemented in > the HTTP requests sent out by jmeter (given that you are already making all > the proper requests required by the login). Ajax web-rich pages do nothing > special, so in itself has, most probably, no bearing on the issue you've > encountered. > > Adrian S > > > On Thu, Jun 25, 2015 at 10:38 AM, Jesse Zhang <[email protected]> > wrote: > > > Hi,all. > > Recently I use the jmeter record a website with actions of login.But when > > replaying the requests recorded,i find that the login is not correctly > > run,then many requests are redirected to the login page.The login request > > are with the header "X-Request-With:XMLHttpRequest",so i guess whether > it's > > the problem.Can Jmeter run the ajax request or not?Does anyone has the > same > > problems?And how can i fix it? > > Thanks. > > > > Jesse > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
