Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 69226 invoked from network); 11 Aug 2010 11:49:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Aug 2010 11:49:23 -0000 Received: (qmail 55449 invoked by uid 500); 11 Aug 2010 11:49:22 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 55029 invoked by uid 500); 11 Aug 2010 11:49:20 -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 54237 invoked by uid 99); 11 Aug 2010 11:49:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 11:49:18 +0000 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=SPF_HELO_PASS,SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of sander@performancearchitecten.nl does not designate 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 11:49:13 +0000 Received: from sam.nabble.com ([192.168.236.26]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Oj9ng-0005Xf-29 for jmeter-user@jakarta.apache.org; Wed, 11 Aug 2010 04:48:52 -0700 Date: Wed, 11 Aug 2010 04:48:52 -0700 (PDT) From: SanderW To: jmeter-user@jakarta.apache.org Message-ID: <1281527332057-2471767.post@n5.nabble.com> In-Reply-To: <1281525316872-2471746.post@n5.nabble.com> References: <1280480781427-2259329.post@n5.nabble.com> <1280815136725-2262601.post@n5.nabble.com> <1280816787461-2262614.post@n5.nabble.com> <1280819405725-2262632.post@n5.nabble.com> <1280827939935-2262729.post@n5.nabble.com> <1281082718284-2266408.post@n5.nabble.com> <1281525316872-2471746.post@n5.nabble.com> Subject: Re: Recording of a script in jmeter MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi gp, Isn't the cookie manager handling the jsessionid's? With Regular Expression you add a Regular Expression Extractor. For your example this could be: Refence Name: myJessionid Regular Expression: jsessionid=(.+?)\) NOTE: (.+?) will get all characters until it reaches the right boundery. The right boundery in this case is a special character and must be escaped, hence the \ Template: $1$ Match No.: 1 Default value: jsessionid not found If you use multiple RegEx (like '(.+?)') and you want the second expression, then change the Template to $2$ Hope this helps -- View this message in context: http://jmeter.512774.n5.nabble.com/Recording-of-a-script-in-jmeter-tp2259329p2471767.html Sent from the JMeter - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org