13 years ago
Loadui unable to load libs associated with SoapUI
Hi,
We have a SoapUI Pro project that utilizes some inbuilt libs we use for generating authentication tokens. We store this in a folder called libs in the same location as the project file.
My tests run fine in SoapUI pro , but when I run in LoadUI I get errors as shown below. I have tried placing the libs folder mentioned above in the same location as where the LoadUI project file is ( under ".loadui" folder), but to no avail .
Thanks in advance for your help.
--------------------------------------------------------------------------------------------------------------------------------
We have a SoapUI Pro project that utilizes some inbuilt libs we use for generating authentication tokens. We store this in a folder called libs in the same location as the project file.
My tests run fine in SoapUI pro , but when I run in LoadUI I get errors as shown below. I have tried placing the libs folder mentioned above in the same location as where the LoadUI project file is ( under ".loadui" folder), but to no avail .
Thanks in advance for your help.
--------------------------------------------------------------------------------------------------------------------------------
"0","[]","13:24:45:166","org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script1.groovy: 1: unable to resolve class com.<our-domain>.cs.test.SecurityTestClient
@ line 1, column 1.
import com.<our-domain>.cs.test.SecurityTestClient;
^
org.codehaus.groovy.syntax.SyntaxException: unable to resolve class com.<our-domain>.cs.test.SecurityTestClient
@ line 1, column 1.
at org.codehaus.groovy.ast.ClassCodeVisitorSupport.addError(ClassCodeVisitorSupport.java:148)
at org.codehaus.groovy.control.ResolveVisitor.visitClass(ResolveVisitor.java:1240)
at org.codehaus.groovy.control.ResolveVisitor.startResolving(ResolveVisitor.java:148)
at org.codehaus.groovy.control.CompilationUnit$8.call(CompilationUnit.java:601)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:839)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:544)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:493)
at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:306)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:287)
at groovy.lang.GroovyShell.parseClass(GroovyShell.java:731)
at groovy.lang.GroovyShell.parse(GroovyShell.java:743)
at groovy.lang.GroovyShell.parse(GroovyShell.java:770)
at groovy.lang.GroovyShell.parse(GroovyShell.java:761)
at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.compile(SoapUIGroovyScriptEngine.java:148)
at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:93)
at com.eviware.soapui.support.scripting.groovy.SoapUIProGroovyScriptEngineFactory$SoapUIProGroovyScriptEngine.run(SourceFile:88)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.runSetupScript(WsdlTestCase.java:912)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runSetupScripts(AbstractTestCaseRunner.java:191)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:102)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:42)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:135)
at com.eviware.loadui.components.soapui.SoapUISamplerComponent$SoapUITestCaseRunner.run(SoapUISamplerComponent.java:905)
at com.eviware.loadui.components.soapui.SoapUISamplerComponent.sample(SoapUISamplerComponent.java:761)
at com.eviware.loadui.impl.component.categories.RunnerBase.doSample(RunnerBase.java:482)
at com.eviware.loadui.impl.component.categories.RunnerBase.access$700(RunnerBase.java:68)
at com.eviware.loadui.impl.component.categories.RunnerBase$Worker.run(RunnerBase.java:759)
at com.eviware.loadui.util.dispatch.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:188)
at java.lang.Thread.run(Unknown Source)