Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@apache.org Received: (qmail 90650 invoked from network); 12 Dec 2002 16:46:40 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 12 Dec 2002 16:46:40 -0000 Received: (qmail 29874 invoked by uid 97); 12 Dec 2002 16:47:44 -0000 Delivered-To: qmlist-jakarta-archive-jmeter-user@jakarta.apache.org Received: (qmail 29827 invoked by uid 97); 12 Dec 2002 16:47:43 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 29791 invoked by uid 98); 12 Dec 2002 16:47:42 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) From: "Mike Stover" To: JMeter Users List Date: Thu, 12 Dec 2002 11:40:06 -0500 MIME-Version: 1.0 Subject: Re: Reusing the result of a regex in the same request Reply-to: mstover1@apache.org Message-ID: <3DF87596.20221.36A14526@localhost> Priority: normal References: In-reply-to: <200212121359.33313.M.Kostrzewa@pentacomp.com.pl> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N It's actually quite common to want to do this, I've found - particularly with sites that use javascript, pop-up windows, etc. Just for further explanation, the 'g1' part is short for "group #1". Group 0 is a built- in group that refers to whatever the entire regular expression matches. -Mike On 12 Dec 2002 at 13:59, Michal Kostrzewa wrote: > > > > > HTTP Request > > param1 ${__regexFunction(some(value),$1$,RAND,,,var1)} > > param2 ${var1} > > > > Please use ${var1_g1} as param2. Hovewer I've never used it in such way - I > used previously parsed value in next requests. > > best regards > Michal Kostrzewa > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > -- Michael Stover mstover1@apache.org Yahoo IM: mstover_ya ICQ: 152975688 AIM: mstover777 -- To unsubscribe, e-mail: For additional commands, e-mail: