jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: RE: Help required for regular expression
Date Sat, 15 Apr 2006 22:21:28 GMT
For matching the digits in

value="3431954045"

try

Regex: value="(\d+)"
Template: $1$

On 15/04/06, Choudhury@labware.com <Choudhury@labware.com> wrote:
> You can use the following regular expression :
> value=(\D)(\d*)(\D) and then in "Template" configuration field you shoud
> give $2$. and in the Match No(0 for Random)  you should place the index of
> 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" <virtualking@rediffmail.com>
> 04/14/2006 09:35 PM
> Please respond to
> "JMeter Users List" <jmeter-user@jakarta.apache.org>
>
>
> To
> "JMeter Users List" <jmeter-user@jakarta.apache.org>
> cc
> "Travis Cooper" <tcooper@overstock.com>
> 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=\"(.+?)\" and that will get
> 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
> >
> ><input type="radio" name="addressBook" value="3431954045"
> checked="checked" onclick="setActionFieldsAndSubmit('changeAddressBook',
> '3431954045')">Personal Address Book
> >                                         </TD> 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


Mime
View raw message