jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Zhang <>
Subject Re: Can jmeter run the ajax request?
Date Thu, 25 Jun 2015 09:31:38 GMT
Initially encountering the login problem,i searched some solutions which suggest me to add
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.


On Thursday, June 25, 2015 4:41 PM, Adrian Speteanu <> wrote:

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

Adrian S

On Thu, Jun 25, 2015 at 10:38 AM, Jesse Zhang <>

> 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:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message