AnsweredAssumed Answered

how to write groovy code in JSR-223

Question asked by naval.dogra on May 3, 2017
Latest reply on May 4, 2017 by naval.dogra

Hi All,

I am using the JSR-223 Step to write a script but the scripting language is groovy instead of BeanShell, can anyone Please suggest how to write it in groovy.

I already tried the drop down option to choose the language but it's not working in JSR-223 Step, I am getting multiple errors.

I have to keep it in BeanShell only then only its working and I have to write the code in BeanShell(which is not preferable in my scenario, I have a built in script in groovy just want to paste it in the step).

Is there any way to do that.

 

Thanks,

Naval

Outcomes