Forum Discussion
paulie
12 years agoOccasional Contributor
Hi Temil, as I'm looking to do this from an external groovy class (in my scripts directory) I get the error
TestCase failed [groovy.lang.MissingPropertyException: No such property: log for class: Testing:groovy.lang.MissingPropertyException: No such property: log for class: Testing]
I don't have any imports in my groovy class - should there be?
This is not vital, I can print to the SoapUI log, it just would have been nice to print to the script log to keep all my logging in one place.
Thanks
TestCase failed [groovy.lang.MissingPropertyException: No such property: log for class: Testing:groovy.lang.MissingPropertyException: No such property: log for class: Testing]
I don't have any imports in my groovy class - should there be?
class Testing
{
public testPrint()
{
log.info "Testing out the print from the external class"
}
}
This is not vital, I can print to the SoapUI log, it just would have been nice to print to the script log to keep all my logging in one place.
Thanks