Forum Discussion

khader_bza's avatar
khader_bza
New Contributor
15 years ago

groovyUtils error

Hi,

I am using SOAP UI Pro 3.5.1 version and writing groovy script in MOCK Service

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def requsetHolder = groovyUtils.getXmlHolder( messageExchange.requestContent )
def responseHolder = groovyUtils.getXmlHolder( messageExchange.responseContent )
def refNum = responseHolder.getNodeValue(“//ns2:Response/ns2:RefNum”)


Getting below error:
error report:com.eviware.soapui.support.GroovyUtils
@ line 2, column 19.1 error

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Script3: 2: unable to resolve class com.eviware.soapui.support.GroovyUtils
@ line 2, column 19.
1 error


Is any jar files or anything missing ?
Please let me know how to resolve this error

Regards,
Basha
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hello,

    Hm..try reinstalling or even better try nightly-build version.

    robert
  • rein08's avatar
    rein08
    New Contributor
    I'll try that.
    Sounds like it's much easier.
    Thanks.