I want to use SoapUI 5.0 to connect with a groovy script to the testlink server and then pass the test result to the test link
Before I tried to do this, I installed the TestLink Java API library downloaded from GitHub (https://github.com/kinow/testlink-java-api) as a jar file.
I copied the testlink-java-api-1.9.17-1 archive.jar to the directory with SoapUI the following paths: \SoapUI\lib and \SoapUI\bin\ext
//here is my code from the groovy script test step
import testlink.api.java.client.TestLinkAPIResults.*;
import testlink.api.java.client.TestLinkAPIClient.*;
def DEVKEY="2f404203b306bd8dd811a7f824c194d0";
def URL="http://172.29.0.73/testlink/lib/api/xmlrpc/v1/xmlrpc.php";
TestLinkAPIClient api = new TestLinkAPIClient(DEVKEY, URL);
When running this script, the following unable to resolve class error occurs
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script74.groovy: 7: unable to resolve class TestLinkAPIClient @ line 7, column 19. TestLinkAPIClient api = new TestLinkAPIClient(DEVKEY, URL); ^ org.codehaus.groovy.syntax.SyntaxException: unable to resolve class TestLinkAPIClient @ line 7, column 19. at org.codehaus.groovy.ast.ClassCodeVisitorSupport.addError(ClassCodeVisitorSupport.java:146) at .......
Is it possible in my case to connect using the groovy script from SoapUI to testlink? And can anyone give an example of how to do it correctly?