TestLink API Error with Hudson TestLink Plugin
Posted: Tue Jan 18, 2011 10:28 pm
I am getting the following error when attempting to use the Hudson TestLink Plugin http://goo.gl/OHwE2 with the TestLink API.
The following is my Hudson project configuration for invoking the TestLink API. On the Hudson configuration level I have provided the full path to the TestLink API PHP file (http://[TESTLINKSERVER]/lib/api/xmlrpc.php ) and the private dev key found in the TestLink "personal" screen for my user account (admin privileges).
SCREENSHOT = http://ScrnSht.com/swljpq
Can anyone help with figuring out why I am getting the failure to create project error, why is the API trying to create a project anyway?
Thank you, if more information is needed let me know.
Code: Select all
Retrieving TestLink details about Test Project, Test Plan and Build.
FATAL: Error creating test project: Failed to parse server's response: The processing instruction target matching "[xX][mM][lL]" is not allowed.
br.eti.kinoshita.testlinkjavaapi.TestLinkAPIException: Error creating test project: Failed to parse server's response: The processing instruction target matching "[xX][mM][lL]" is not allowed.
at br.eti.kinoshita.testlinkjavaapi.TestProjectService.getTestProjectByName(TestProjectService.java:134)
at br.eti.kinoshita.testlinkjavaapi.TestLinkAPI.getTestProjectByName(TestLinkAPI.java:347)
at hudson.plugins.testlink.finder.AutomatedTestCasesFinder.retrieveTestLinkData(AutomatedTestCasesFinder.java:157)
at hudson.plugins.testlink.finder.AutomatedTestCasesFinder.findAutomatedTestCases(AutomatedTestCasesFinder.java:127)
at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:447)
at hudson.plugins.m2extrasteps.M2ExtraStepsWrapper.executeBuildSteps(M2ExtraStepsWrapper.java:166)
at hudson.plugins.m2extrasteps.M2ExtraStepsWrapper.setUp(M2ExtraStepsWrapper.java:126)
at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:521)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417)
at hudson.model.Run.run(Run.java:1362)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:405)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:145)
Caused by: org.apache.xmlrpc.client.XmlRpcClientException: Failed to parse server's response: The processing instruction target matching "[xX][mM][lL]" is not allowed.
at org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTransport.java:188)
at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:156)
at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:143)
at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:69)
at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:158)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:147)
at br.eti.kinoshita.testlinkjavaapi.BaseService.executeXmlRpcCall(BaseService.java:124)
at br.eti.kinoshita.testlinkjavaapi.TestProjectService.getTestProjectByName(TestProjectService.java:126)
... 12 more
Caused by: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1231)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTransport.java:186)
... 21 more
SCREENSHOT = http://ScrnSht.com/swljpq
Can anyone help with figuring out why I am getting the failure to create project error, why is the API trying to create a project anyway?
Thank you, if more information is needed let me know.