Hi I am trying to assign value extracted from one sampler to another variable in a beanshell script. I have the below beanshell script.
vars.put("linkArr",vars.get("${PlanLinksArray_1}"));
the text request in jmeter is showing the below for beanshell sampler
vars.put("linkArr",vars.get("9PacMiSVl6GIQAtco747NQ"));
but the linkArr variable is showing a null value in the debug sampler.
why is that i am getting a null value when I am expecting 9PacMiSVl6GIQAtco747NQ value to be assigned to the linkArr variable. please suggest
Do this: