AnsweredAssumed Answered

Why do JSR-223 steps behave different in ITR then when deployed?

Question asked by BenAtkinson62132926 on Feb 24, 2017
Latest reply on Feb 24, 2017 by BenAtkinson62132926

I have a JSR-223 script in my VSM running this line of code:

 

  return testExec.getStateValue("lisa.vse.http.current.transaction").uri;

 

Works as designed in ITR mode, but when deployed on a VSE, fails with:

 

Script throw an exception: bsh.EvalError: Sourced file: inline evaluation of:
``return testExec.getStateValue("lisa.vse.http.current.transaction").uri;
: reflection error: bsh.ReflectError: No such field: uri :

 

 

 

SakthivelThanabalan62134482

Outcomes