larsn
12 years agoContributor
[Res] testrunner.sh, groovy scripts in scripts dir not found
I'm trying to run tests with soapui pro in a Jenkins setup without the UI, using just testrunner.sh.
I have it installed and licensed but I'm having trouble getting my external groovy script library working.
The tests work fine from my Windows PC - the external groovy code in the scripts directory is automatically compiled, but I can't see in the logs that the testrunner.sh run is trying to compile my scripts. I see that the path to the scripts directory is set.
08:17:28,320 INFO [SoapUIProGroovyScriptEngineFactory] Setting Script Library to [/opt/SoapUI-Pro-4.6.2/bin/scripts]
The error I am getting is:
Script1.groovy: 1: unable to resolve class myscripts.XmlAssertions
@ line 1, column 1.
import myscripts.XmlAssertions
Where are the compiled scripts compiled to? I'm wondering if this is a file/directory permissions problem.
I have it installed and licensed but I'm having trouble getting my external groovy script library working.
The tests work fine from my Windows PC - the external groovy code in the scripts directory is automatically compiled, but I can't see in the logs that the testrunner.sh run is trying to compile my scripts. I see that the path to the scripts directory is set.
08:17:28,320 INFO [SoapUIProGroovyScriptEngineFactory] Setting Script Library to [/opt/SoapUI-Pro-4.6.2/bin/scripts]
The error I am getting is:
Script1.groovy: 1: unable to resolve class myscripts.XmlAssertions
@ line 1, column 1.
import myscripts.XmlAssertions
Where are the compiled scripts compiled to? I'm wondering if this is a file/directory permissions problem.