From jmeter-user-return-25999-apmail-jakarta-jmeter-user-archive=jakarta.apache.org@jakarta.apache.org Wed Jul 22 16:58:51 2009 Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 38682 invoked from network); 22 Jul 2009 16:58:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Jul 2009 16:58:51 -0000 Received: (qmail 33882 invoked by uid 500); 22 Jul 2009 16:59:56 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 33828 invoked by uid 500); 22 Jul 2009 16:59:55 -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 33818 invoked by uid 99); 22 Jul 2009 16:59:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jul 2009 16:59:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shettyd@gmail.com designates 74.125.92.27 as permitted sender) Received: from [74.125.92.27] (HELO qw-out-2122.google.com) (74.125.92.27) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jul 2009 16:59:46 +0000 Received: by qw-out-2122.google.com with SMTP id 5so166638qwd.31 for ; Wed, 22 Jul 2009 09:59:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=btjOrvGW46Girlbv9UyMIAf1jF/c7Otd11vOJaOHy88=; b=N/F1Dd+tUg5THnFEY93bycWstdxm/wOXsTYPsh2d20Ej+RqKJBVRolQ/Q97B72/gYD BFAQ/HGuwBH/9npyEjJXfNBpQvxiibW+wG00rzWON8q0y19x5d1PLNntTFi7V/LELD54 QxK+bJDFSUBLKt5UTT1+ruWD4WjrA/ywh0+hw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=U5w//k625AVytBbPtaDMQ0fIWC3pHQN2sKwHKMVjrbw1k3yds2uatjBzXa1qSVVx+4 8oiZC6rHfRCLGF/uZaYMzRvZY7RFFC5eF1u4rP0fMvMmpWu+Cs3qpVLhExE23oO3M+Fn WE6TNMjbmR9Cc0OYrDKrpxeTkgKTCLhplgcEk= MIME-Version: 1.0 Received: by 10.224.61.4 with SMTP id r4mr1001854qah.349.1248281965402; Wed, 22 Jul 2009 09:59:25 -0700 (PDT) In-Reply-To: <25aac9fc0907220918v7d268671hd1a1b0425dafac94@mail.gmail.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> <14CA2D0A257F314A876FBF8F5E4ABFBD326DB06FCF@lon01cexmbx02.us.intercall.com> <4483c26c0907220848x2d15cd37ve1c014cd39e3b962@mail.gmail.com> <25aac9fc0907220918v7d268671hd1a1b0425dafac94@mail.gmail.com> Date: Wed, 22 Jul 2009 09:59:25 -0700 Message-ID: <4483c26c0907220959n3687a8fq12be11f937134590@mail.gmail.com> Subject: Re: Ability to clear cookies inside a loop From: Deepak Shetty To: JMeter Users List Content-Type: multipart/alternative; boundary=0015175cdd8a209d4f046f4e4bba X-Virus-Checked: Checked by ClamAV on apache.org --0015175cdd8a209d4f046f4e4bba Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Is there any feature request to eliminate samples from the response time calculations/listeners or is there any way to achieve this? (currently I do this after the fact using custom stylesheets on the jtl file). regards deepak On Wed, Jul 22, 2009 at 9:18 AM, sebb wrote: > On 22/07/2009, Deepak Shetty wrote: > > its probably better to change this from a Pre Processor to a BSH sample= r > as > > the first step within your loop , the test script is then explicit abo= ut > > whats going on. > > That's a possible alternative, but it would generate a sample which > might be a nuisance. > > > regards > > deepak > > > > On Wed, Jul 22, 2009 at 6:04 AM, Renou, St=E9phane < > stephane.renou@genesys.com > > > > > wrote: > > > > > Thanks a lot that was my issue. > > > > > > -----Original Message----- > > > From: Deepak Shetty [mailto:shettyd@gmail.com] > > > 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 > > > for > > > 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 anymor= e > after > > > > the clearing. Is this normal behavior? > > > > > > > > Clearing cookies was done according to what you described in the > > > following > > > > post: > > > > > > > > > > http://www.nabble.com/JMeter-2.3.1-bug-in-Cookie-Manager-%22clear-each-it= eration%22-td14343027.htmlusingtheBeanSheal 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 > > > cookies > > > > 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 > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > --0015175cdd8a209d4f046f4e4bba--