Forum Discussion
jwasiak
New Contributor
I'm using SoapUI 5.7.
I have followed your sample and added the script under the same coresponding location here:
C:\Program Files\SmartBear\SoapUI-5.7.0\bin\scripts\groovyScripts
Then in newly created TestCase teardown script I added your code which at run gives me this error:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script2.groovy: 1: unable to resolve class groovyScripts.MyTearDownClass @ line 1, column 18. tearDownObject = new groovyScripts.MyTearDownClass(); ^ org.codehaus.groovy.syntax.SyntaxException: unable to resolve class groovyScripts.MyTearDownClass @ line 1, column 18. at org.codehaus.groovy.ast.ClassCodeVisitorSupport.addError(ClassCodeVisitorSupport.java:262) at
ChrisAdams
2 years agoChampion Level 3
The above example was built using ReadyAPI 3.40.2.
I have SoapUI 5.5.0, let me try there and I'll get back to you.
- ChrisAdams2 years agoChampion Level 3
Hi,
My machine won't let me create sub-folders under the SoapUI installation.
The only thing I can suggest is that if you think it's set up right, then try restarting SoapUI to see if it will scan those folders.
Related Content
- 6 years ago
- 4 years ago
- 7 years ago