tl;dr When I use my variable created in Regular Expression Extractor I cannot use it in Random Variable as Maximum Value
Long description:
- My test structure:
- I have variable
my_testwhat is crated in Regular Expression Extractor - Then I want it use as Maximum Value in Regular Expression Extractor
- So finally I can make request:
//echo.getpostman.com/get?test=${rand}
Unfortunately I get error from Random Variable2016/10/07 07:52:41 ERROR - jmeter.config.RandomVariableConfig: maximum(${my_test}) must be > minimum1)
Why my_test is not evaluated?
I have tried ${__javaScript(parseInt('${my_test}'))} but it looks like it is evaluated before my variable initialization
2016/10/07 08:06:01 ERROR - jmeter.config.RandomVariableConfig: maximum(NaN) must be > minimum1)
If I initialize this variable in Test Plan in User Defined Variables value from that setting will be used - not updated by regex.
I know that I can do //echo.getpostman.com/get?test=${__Random(0,${my_test})}
I'm just curious how pass my variable as value for Maximum Value in Regular Expression Extractor.


