scripting groovy TestSuite Variable REST
I do this in all my SOAP messages to store TestSuite Variable and it works perfectly. However, when I apply the same logic to REST. It doesn't work.
suite = context.getParentContext().getParentContext();
TS_Var = "uniqueId"
myVar = suite.get(TS_Var);
suite.put(TS_Var, myTransactionId )
I notice that the call on context.getParentContext() does return a value but it's not related to the scenario case at all. Am I missing something or I should apply a different method call on REST.