Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 625 invoked from network); 15 Apr 2006 22:21:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Apr 2006 22:21:52 -0000 Received: (qmail 82017 invoked by uid 500); 15 Apr 2006 22:21:50 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 81992 invoked by uid 500); 15 Apr 2006 22:21:50 -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 81981 invoked by uid 99); 15 Apr 2006 22:21:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Apr 2006 15:21:50 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of sebbaz@gmail.com designates 64.233.166.180 as permitted sender) Received: from [64.233.166.180] (HELO pproxy.gmail.com) (64.233.166.180) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Apr 2006 15:21:49 -0700 Received: by pproxy.gmail.com with SMTP id t32so332311pyc for ; Sat, 15 Apr 2006 15:21:28 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IERRlzoLK4UiCclab1wUjpP/kE6rbhW8NWfPLb6gtTNDL9kWo5dSJzlx7u1PxZAbORUjFzcNhYSUC5FyphySZIGDgAsdEzA0SL1EU2sE/LfmpP4+uEfzQ3B3wv2lizlcmA1nmZBKmogt1Ev/ck4qNiuDlrGYDBQzYduQwiz10L8= Received: by 10.35.78.9 with SMTP id f9mr903557pyl; Sat, 15 Apr 2006 15:21:28 -0700 (PDT) Received: by 10.35.34.9 with HTTP; Sat, 15 Apr 2006 15:21:28 -0700 (PDT) Message-ID: <25aac9fc0604151521u70b0dbd9r77c2531de2448efd@mail.gmail.com> Date: Sat, 15 Apr 2006 23:21:28 +0100 From: sebb To: "JMeter Users List" Subject: Re: RE: Help required for regular expression In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060414160529.25700.qmail@webmail27.rediffmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N For matching the digits in value=3D"3431954045" try Regex: value=3D"(\d+)" Template: $1$ On 15/04/06, Choudhury@labware.com wrote: > You can use the following regular expression : > value=3D(\D)(\d*)(\D) and then in "Template" configuration field you shou= d > give $2$. and in the Match No(0 for Random) you should place the index o= f > the match in the page. For example there might be multiple values with a > such a regular expression. You have to place the correct index of the > match in the page. > > Regards, > > Subhrajyoti > > > > > "vish Kamtane" > 04/14/2006 09:35 PM > Please respond to > "JMeter Users List" > > > To > "JMeter Users List" > cc > "Travis Cooper" > Subject > Re: RE: Help required for regular expression > > > > > > > > Hi, > Thanks for the reply ,actually i wnted extract the value "3431954045" in > the mentioned reponse.This value is generated twice in the same. > I tried using (.+?),but could not extract it. > > Thanks & Regards > Vishal Kamtane > > On Fri, 14 Apr 2006 Travis Cooper wrote : > >Which value do you want to extract? You can extract things, for example > to get the name, by doing something like name=3D\"(.+?)\" and that will g= et > addressBook. If that doesn't help let us know what exactly you want to > extract. > > > >Thanks, > >Travis J. Cooper > > > >-----Original Message----- > > From: vish Kamtane [mailto:virtualking@rediffmail.com] > >Sent: Friday, April 14, 2006 9:49 AM > >To: JMeter Users List > >Subject: Help required for regular expression > > > > > >Hi, > > > >I am trying to extract a value using Regular expression extractor. > > > >Can somebody suggest me how to extract values from the response given > below > > > > checked=3D"checked" onclick=3D"setActionFieldsAndSubmit('changeAddressBoo= k', > '3431954045')">Personal Address Book > > Thanks & Reagrds Vishal > kamtane > > > >--------------------------------------------------------------------- > >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