jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Accessing regex variables in Beanshell
Date Mon, 25 Sep 2006 12:26:10 GMT
Indeed - but the variable would still be set, either to "$1" or to "Missed".

On 25/09/06, Marc Anthony Winoto <marc.winoto@netregistry.com.au> wrote:
> I have the same setup. Regex Extractor followed by a BeanShell PreProc.
>
> The difference between mine and your example below is that my template is $1$ for the
first
> match. Putting $1 in it's place breaks everything.
>
> I just checked the docs, and it also says $1$ is correct.
>
> Philip Peake wrote:
> >>     Response Field:   <Body checked>
> >>     Reference Name:   FOO
> >>     Regular Expression:   (Squirrel)
> >>     Template:   $1
> >>     Default Value:   "Missed"
> >>
>
> ---------------------------------------------------------------------
> 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