Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 35388 invoked from network); 22 Jul 2009 13:04:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Jul 2009 13:04:24 -0000 Received: (qmail 39794 invoked by uid 500); 22 Jul 2009 13:05:29 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 39747 invoked by uid 500); 22 Jul 2009 13:05:29 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 39736 invoked by uid 99); 22 Jul 2009 13:05:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jul 2009 13:05:28 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.82.249.19] (HELO mail137.messagelabs.com) (216.82.249.19) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jul 2009 13:05:16 +0000 X-VirusChecked: Checked X-Env-Sender: stephane.renou@genesys.com X-Msg-Ref: server-8.tower-137.messagelabs.com!1248267893!49150225!1 X-StarScan-Version: 6.1.2; banners=-,-,- X-Originating-IP: [216.57.102.105] Received: (qmail 29098 invoked from network); 22 Jul 2009 13:04:54 -0000 Received: from unknown (HELO linux510.wic.west.com) (216.57.102.105) by server-8.tower-137.messagelabs.com with DHE-RSA-AES256-SHA encrypted SMTP; 22 Jul 2009 13:04:54 -0000 Received: from OMA00CHUB02.corp.westworlds.com (oma-inet-pub [216.57.102.249]) by linux510.wic.west.com (8.13.1/8.13.1) with ESMTP id n6MD4rr4025140 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL) for ; Wed, 22 Jul 2009 09:04:53 -0400 Received: from lon01cexmbx02.us.intercall.com (10.184.32.67) by OMA00CHUB02.corp.westworlds.com (10.27.116.69) with Microsoft SMTP Server (TLS) id 8.1.375.2; Wed, 22 Jul 2009 08:04:53 -0500 Received: from lon01cexmbx02.us.intercall.com ([10.184.32.67]) by lon01cexmbx02.us.intercall.com ([10.184.32.67]) with mapi; Wed, 22 Jul 2009 14:04:52 +0100 From: =?iso-8859-1?Q?Renou=2C_St=E9phane?= To: JMeter Users List Date: Wed, 22 Jul 2009 14:04:51 +0100 Subject: RE: Ability to clear cookies inside a loop Thread-Topic: Ability to clear cookies inside a loop Thread-Index: AcoKJljRfgXFoWiVSMOq+DgGmT/TNQApqHdg Message-ID: <14CA2D0A257F314A876FBF8F5E4ABFBD326DB06FCF@lon01cexmbx02.us.intercall.com> References: <024511722E43B54D8E8DB4C43EC9EB949D0C1A@eufrmone002.ad.internal.corp> <25aac9fc0907210605q4ac72cdbncc4b835f8f895efc@mail.gmail.com> <14CA2D0A257F314A876FBF8F5E4ABFBD326DB06FBC@lon01cexmbx02.us.intercall.com> <14CA2D0A257F314A876FBF8F5E4ABFBD326DB06FBF@lon01cexmbx02.us.intercall.com> <4483c26c0907211011me919dc6lf00889bdddb0c6c8@mail.gmail.com> In-Reply-To: <4483c26c0907211011me919dc6lf00889bdddb0c6c8@mail.gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Thanks a lot that was my issue. -----Original Message----- From: Deepak Shetty [mailto:shettyd@gmail.com]=20 Sent: Tuesday, July 21, 2009 7:11 PM To: JMeter Users List Subject: Re: Ability to clear cookies inside a loop Shouldnt the clear cookie be a pre processor for Cal Page Three (and not fo= r the loop) regards deepak On Tue, Jul 21, 2009 at 10:05 AM, Renou, St=E9phane < stephane.renou@genesys.com> wrote: > I am sorry to come back to that issue but running that test, and clearing > cookies in the middle of the thread, cookies are not stored anymore after > the clearing. Is this normal behavior? > > Clearing cookies was done according to what you described in the followin= g > post: > http://www.nabble.com/JMeter-2.3.1-bug-in-Cookie-Manager-%22clear-each-it= eration%22-td14343027.htmlusing the BeanSheal Pre processor. > > > My scenario can be summarized to > http cookie Manager > Thread group > Call Page one (response is setting JSESSIONID) > Call Page two (request has JSESSIONID > > Start Loop > ClearCookie > Call Page Three (no cookie and page is setting new > JSESSIONID) > Call Page 4 (but here Jmeter does not submit the latest > JsessionId) > > I also tried adding the cookie manager inside the thread group without > success. > > I am using Jmeter 2.3.4 > > > Thank you > > -----Original Message----- > From: Renou, St=E9phane [mailto:stephane.renou@genesys.com] > Sent: Tuesday, July 21, 2009 5:56 PM > To: JMeter Users List > Subject: RE: Ability to clear cookies inside a loop > > Trying to reproduce the issue to give you the information I see my cookie= s > cleared, sorry for the inconvenience. > > -----Original Message----- > From: sebb [mailto:sebbaz@gmail.com] > Sent: Tuesday, July 21, 2009 3:05 PM > To: JMeter Users List > Subject: Re: Ability to clear cookies inside a loop > > On 07/07/2009, Renou, Stephane wrote: > > Hi all, > > > > > > > > In my scenario, I am creating a loop and I would like to clear my > > cookies for each iteration of the loop. I tried to use > > sampler.getCookieManager().clear(); > > Where did you put this code ? > > > But that did not work. > > Any errors in jmeter.log? > > > Would you have any idea on how I could perform this? > > > > > > Thanks in advance > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org