Can someone please explain me what could be the solution for this error “Unable to create a XML-RPC client”?

166 Views Asked by At

I was on integrating testlink (version 1.9.20-12) with the selenium webdriver by using this blog https://www.softwaretestinghelp.com/testlink-tutorial-3/

I have done all the preequisites and all the steps. But I am getting this error "Unable to create a XML-RPC client". I have also came to know that my API is not getting connected as isConnected method from TestlinkApiClient is giving me false value.

I have gone and check the solutions given on What is solution for this error "Unable to create a XML-RPC client"? and TestLink XML-RPC The call to the xml-rpc client failed but still my error was not resolved.

here is the code snippet.

TestLinkAPIClient tlApi = new TestLinkAPIClient(URL, DEVKEY);

boolean value = tlApi.isConnected;

System.out.println("API Connected : " + value);

tlApi.reportTestCaseResult(testProject, testPlan, testCase, build, notes, result);

providing DEVKEY from Testlink from user profile and URL as "http://127.0.0.1:81/testlink/lib/api/xmlrpc/v1/xmlrpc.php"

Can someone explain what caused this error and how to fix it.

0

There are 0 best solutions below