Forum Discussion

smartsoap's avatar
12 years ago

Using log, context & testRunner from external groovy file

Hi,
I have done some coding on Groovy Script and have also gone through SOAPUI API docs.

The variables log, context and testRunner can be used in Groovy Script window (inside SOAPUI).
http://www.soapui.org/Functional-Testin ... ripts.html

Now, I am trying to access the log, context and testRunner variables from an external groovy script. But accessing them from an external file(“test.groovy”) gives errors.

Any suggestions/advice are welcome!


Code in Groovy Script window
No RepliesBe the first to reply