Forum Discussion
HP-Plano-TX-Soa
11 years agoOccasional Contributor
Hi Rao,
This is very helpful - I can create a JAR file - and I think I have only one minor obstacle now.
When I try to run a groovy script from the JAR file collection of scripts, I get the error "groovy.lang.MissingPropertyException: No such property: com for class: customScripts.teardownScripts"
In my "teardownScripts" groovy script, I am using this:
def logMon = com.eviware.soapui.SoapUI.logMonitor
Evidently, the "com" property isn't being found or defined. I tried importing it with this in my groovy script:
package customScripts;
import com.eviware.soapui.SoapUI.logMonitor.*;
class teardownScripts
{
.....
And then I re-created the JAR file and placed it in the correct path for SoapUI Free, but the same error persists. How can I resolve the error which seems to indicate that the com property (com.eviware.soapui.SoapUI.logMonitor) isn't defined?
Thanks so much, Rao!
This is very helpful - I can create a JAR file - and I think I have only one minor obstacle now.
When I try to run a groovy script from the JAR file collection of scripts, I get the error "groovy.lang.MissingPropertyException: No such property: com for class: customScripts.teardownScripts"
In my "teardownScripts" groovy script, I am using this:
def logMon = com.eviware.soapui.SoapUI.logMonitor
Evidently, the "com" property isn't being found or defined. I tried importing it with this in my groovy script:
package customScripts;
import com.eviware.soapui.SoapUI.logMonitor.*;
class teardownScripts
{
.....
And then I re-created the JAR file and placed it in the correct path for SoapUI Free, but the same error persists. How can I resolve the error which seems to indicate that the com property (com.eviware.soapui.SoapUI.logMonitor) isn't defined?
Thanks so much, Rao!
Related Content
- 5 years agohenil_shah
- 11 years agotestlc
Recent Discussions
- 7 days agoemoya