In documentation mentioned that to see/pass variable content we should use
var2 = vars.get("var1");
I created a script and tried to use this get function and the value is null
, when I printed the value of the "source" variable I see its value, can someone please explain? (as you can see when I print using get I see NULL
returned)
Moreover can someone please fully explained (with PIC if I may ask) how to call var2
in a second sampler, I am facing an issues with variables in groovy and read the DOCs