Return-Path: X-Original-To: apmail-jmeter-user-archive@www.apache.org Delivered-To: apmail-jmeter-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CA72A1887C for ; Thu, 25 Jun 2015 09:32:08 +0000 (UTC) Received: (qmail 37995 invoked by uid 500); 25 Jun 2015 09:32:08 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 37961 invoked by uid 500); 25 Jun 2015 09:32:08 -0000 Mailing-List: contact user-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JMeter Users List" Delivered-To: mailing list user@jmeter.apache.org Received: (qmail 37950 invoked by uid 99); 25 Jun 2015 09:32:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2015 09:32:08 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=FORGED_YAHOO_RCVD,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ynzzss@yahoo.com designates 98.138.91.116 as permitted sender) Received: from [98.138.91.116] (HELO nm23-vm6.bullet.mail.ne1.yahoo.com) (98.138.91.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2015 09:29:52 +0000 Received: from [98.138.226.176] by nm23.bullet.mail.ne1.yahoo.com with NNFMP; 25 Jun 2015 09:31:39 -0000 Received: from [98.138.87.8] by tm11.bullet.mail.ne1.yahoo.com with NNFMP; 25 Jun 2015 09:31:39 -0000 Received: from [127.0.0.1] by omp1008.mail.ne1.yahoo.com with NNFMP; 25 Jun 2015 09:31:39 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 646782.61779.bm@omp1008.mail.ne1.yahoo.com X-YMail-OSG: VDbjJ_IVM1nRQVwDGEYNOku582U9YJAgtz3s1yL4SuTDIsAEl7eqdXwitZe3DUq eWpwRjBBWLHgPz9uA4ywa3hGAjHt.bbd7x0bMsQsEDGWQSvNnEQZ48yKaTpjeSGy9YW38husXDxk W6mD.Lz_QJoQCBQ8m_35va_x1O9sRSoensMMGUMv4rkuup.UWwpSCqRkpQBboU7vrplsUpo1yxhU VejbBlSUo1Ej_tvdfoYteEvIFN.I0lt1YnZpJ8HxyxuA4ELp08WbU5GS0OlCgIAAghp.PnNlmooB JJH_4biZoIWYNXPs8rdoIRC_ZRa6fDZUrgJVwc3wbbDyqVHSgoeg.JbXl2DXL_VMUpeXFwrzlDVX 0sYAPUprkHqHo2F4tbifCI0pVmF.69jIqpWn5X3bEg539B5TOEk8MuEfa9pRLC8bvM5Bi4HA5nrV vj_XhgUY5ncORvpSrLUknmNJ1lSwsCmsuVYqd3ZtyqzLmLvc4ATFDedflHBRC4GlXRsJy8Rkx0yC 8.9f8wA-- Received: by 98.138.101.162; Thu, 25 Jun 2015 09:31:39 +0000 Date: Thu, 25 Jun 2015 09:31:38 +0000 (UTC) From: Jesse Zhang Reply-To: Jesse Zhang To: JMeter Users List Message-ID: <1935945829.890827.1435224698760.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: References: Subject: Re: Can jmeter run the ajax request? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 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 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-unsubscribe@jmeter.apache.org > For additional commands, e-mail: user-help@jmeter.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org For additional commands, e-mail: user-help@jmeter.apache.org