jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rolando Sánchez Villalobos <rsanc...@AVANTICATEC.NET>
Subject RE: How to capture a value using regular expression extrators
Date Tue, 01 Nov 2005 23:33:59 GMT
Thnxs sebb, I try a lot of forms, but at least i found one that work fine

it is in the value of the regular expression

id= "([^"]*)"

So that expression catch the number of the idea and, through out the rest of the html code
That kind of regular expression would be great to be put on a page in the site of jmeter as
tricks or something like that, I think, or in other file as example of how to use regular
expressions

And also all the users of the community would add their own tricks

-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com]
Sent: Martes, 01 de Noviembre de 2005 02:35 p.m.
To: JMeter Users List
Subject: Re: How to capture a value using regular expression extrators


On 01/11/05, Rolando Sanchez Villalobos <rsanchez@avanticatec.net> wrote:
>
> Hi All,
>
> Is there a way to get in JMeter the value of a variable, I stay using
> Regular Expresion Extractor, but the value is an ID autogenerate and
> autoincremental, so how I can construct my regular expression to extract
> the value of the ID, also the system uses struts

Yes, the Regular Expression Extractor can be used to extract anything
from a sampler response.

> Any help will be much appreciated.

If you post a sample ID with some of the surrounding content, and
indicate what you want to extract - i.e. the variable part -  we can
help with the RE.

S.

---------------------------------------------------------------------
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