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 <asp.ad...@gmail.com> 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 <ynz...@yahoo.com.invalid>
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: user-unsubscr...@jmeter.apache.org
> For additional commands, e-mail: user-h...@jmeter.apache.org
>
>

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

Reply via email to