You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by SanderW <sa...@performancearchitecten.nl> on 2014/12/30 07:54:45 UTC
Re: Recording: Variable from User Defined Variables in Patterns to
Include
sebb-2-2 wrote
> Yes.
> But you don't say what you have tried so it's impossible to debug the
> issue.
Sorry, you are right.
I have a variable called "Env" with value "acp" in User Defined Variables.
In the Test Script Recorder I have tried the following URL Patterns to
Include:
.*.(tst|acp).somehost.nl.* --> Works. The .* at the beginning is because
of the application name that the urls start with
.*.${Env}.somehost.nl.* --> Does not work
.*.\${Env}.somehost.nl.* --> Does not work
.*${__BeanShell(vars.get("Env"))}.somehost.* --> Does not work
I tried escaping the $ { and }, but that didn't work.
I also tried to debug with ${__log(vars.get("Env"))}, but that also does not
do anything in URL Patterns to Include
--
View this message in context: http://jmeter.512774.n5.nabble.com/Recording-Variable-from-User-Defined-Variables-in-Patterns-to-Include-tp5721390p5721565.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org