jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Serpent_Guard <>
Subject Help with Regex Extractor
Date Wed, 17 Dec 2008 18:05:50 GMT

I need some help with the Post-Processor/Regex Extractor element.  I have
response data that contains this snippet:  '<input id="guid" name="guid"
value="000004.30000000000000204~Active~~2007TR080931" type="radio" />'.  I
need the extractor to grab '000004.30000000000000204' and put it in a
variable so I can use it later.

I set up my extractor like this:  Reference Name:  GUID_VARIABLE;  Regular
Expression:  <input id=\"guid\"\ name=\"guid value=\"(.*?)~Active~~; 
Template:  $1$;  Match No.:  1;  Default Value:  0.  I placed my extractor
as a child element of the HTTP Sampler.  When I run it, the default value of
0 is used.

I also tried stripping out all the back-slashes in the expression, in the
off-chance that it automatically places those.  No luck.

Anyone have any ideas as to what's going wrong?
View this message in context:
Sent from the JMeter - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message