I think I have an issue on JMeter.
Consider the following scenario :
Controller
User defined variables (I define here a variable named var="12345")
Regular Expression Extractor (in which I define a new variable var2 which will contain the 4 first characters of var, so var2="1234")
BeanShell Sampler (I've just put log.info("my var2 is " + vars.get("var2"))
The expected result is to print the value of var2. Unfortunately, I got null instead of "1234".
If I put a "Debug Sampler" just after the "Regular Expression Extractor", it works fine.
Is there something I've missed ?