jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: regular expression
Date Wed, 23 Apr 2008 10:55:42 GMT
2008/4/23 Ronan Klyne <ronan.klyne@groupbc.com>:
> Eldho John wrote:
>
> > I have a response where a portion is like <a
> > href="edit.faces?tid=54">Edit</a></td>
> >
> >
> >
> >
> >
> > > From this I have to capture the value of tid (i.e.54) using regular
> > >
> > expression extractor in jmeter.
> >
> >
> >
> >
> > Could anyone please help?
> >
>
>  Expression: href="edit.faces?tid=([^"]+)"

Or

Expression: href="edit.faces?tid=(\d+)"

if the tid can only be numeric.

>  Template: $1$
>
>  Change the '+' to a '*' is you wish to allow the id to be blank.
>
>         # r
>
>  --
>  Ronan Klyne
>  Business Collaborator Developer
>  Tel: +44 01189 028518
>  ronan.klyne@groupbc.com
>  www.groupbc.com
>
>  ---------------------------------------------------------------------
>  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