11 years ago
Cannot be found script library with soapUI API
Hi all!
I use soapUI API, namely class WsdlProjectPro for automated testing web-services. And my soap-project has scripts, that are located in script library on my computer. I set location of my script library in soapUI gui-client. When I run my project on soapUI gui-client, then everything works fine. I use method setScriptLibrary for setting location of my script library in soapUI API. But doesn't help me. When I run my project with API I have log with message:
ERROR [SoapUI] An error occured [startup failed:
Script1.groovy: 2: unable to resolve class MyScript
@ line 2, column 13.
def conv = new MyScript();
^
org.codehaus.groovy.syntax.SyntaxException: unable to resolve class MyScript
Help me, please
Thanks
I use soapUI API, namely class WsdlProjectPro for automated testing web-services. And my soap-project has scripts, that are located in script library on my computer. I set location of my script library in soapUI gui-client. When I run my project on soapUI gui-client, then everything works fine. I use method setScriptLibrary for setting location of my script library in soapUI API. But doesn't help me. When I run my project with API I have log with message:
ERROR [SoapUI] An error occured [startup failed:
Script1.groovy: 2: unable to resolve class MyScript
@ line 2, column 13.
def conv = new MyScript();
^
org.codehaus.groovy.syntax.SyntaxException: unable to resolve class MyScript
Help me, please
Thanks