使用测试链接时 jenkins 中的 XMLRPC 错误
XMLRPC error in jenkins while using testlink
通过 Jenkins test-link 插件与 test-link 通信时出错。
14:43:17 Using TestLink URL: http://<hostname>/testlink-code-testlink_1_9/lib/api/xmlrpc/v1/xmlrpc.php
14:43:17
14:43:17 FATAL: Error verifying developer key: HTTP server returned unexpected status: Not Found
14:43:17 br.eti.kinoshita.testlinkjavaapi.util.TestLinkAPIException: Error verifying developer key: HTTP server returned unexpected status: Not Found
14:43:17 at br.eti.kinoshita.testlinkjavaapi.MiscService.checkDevKey(MiscService.java:64)
14:43:17 at br.eti.kinoshita.testlinkjavaapi.TestLinkAPI.<init>(TestLinkAPI.java:148)
14:43:17 at hudson.plugins.testlink.TestLinkBuilder.getTestLinkSite(TestLinkBuilder.java:331)
14:43:17 at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:206)
14:43:17 at hudson.tasks.BuildStepMonitor.perform(BuildStepMonitor.java:20)
14:43:17 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
14:43:17 at hudson.model.Build$BuildExecution.build(Build.java:206)
14:43:17 at hudson.model.Build$BuildExecution.doRun(Build.java:163)
14:43:17 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
14:43:17 at hudson.model.Run.execute(Run.java:1815)
14:43:17 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
14:43:17 at hudson.model.ResourceController.execute(ResourceController.java:97)
14:43:17 at hudson.model.Executor.run(Executor.java:429)
14:43:17 Caused by: org.apache.xmlrpc.client.XmlRpcHttpTransportException: HTTP server returned unexpected status: Not Found
14:43:17 at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.getInputStream(XmlRpcSunHttpTransport.java:94)
14:43:17 at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:152)
14:43:17 at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:143)
14:43:17 at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:69)
14:43:17 at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56)
14:43:17 at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167)
14:43:17 at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:158)
14:43:17 at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:147)
14:43:17 at br.eti.kinoshita.testlinkjavaapi.BaseService.executeXmlRpcCall(BaseService.java:83)
14:43:17 at br.eti.kinoshita.testlinkjavaapi.MiscService.checkDevKey(MiscService.java:61)
14:43:17 ... 12 more
14:43:17 ERROR: Error communicating with TestLink. Check your TestLink configuration.
14:43:17 Finished: FAILURE
我也检查了服务器这是使用的路径。不确定为什么仍然无法与测试通信-link.
基本上我正在尝试 运行 来自 Jenkins GitHub 代码的测试并在 test-link 中更新我的测试执行。
伙计们,通过要求 devops 从 nginix 端启用 XMLRPC 路径,它得到了修复。
所以基本上当我们尝试访问未定义路径的文件时会发生什么,当您从浏览器中点击时它说找不到文件。
所以基本上你需要启用路径并检查你正在访问正确的路径来访问 XMLRPC
通过 Jenkins test-link 插件与 test-link 通信时出错。
14:43:17 Using TestLink URL: http://<hostname>/testlink-code-testlink_1_9/lib/api/xmlrpc/v1/xmlrpc.php
14:43:17
14:43:17 FATAL: Error verifying developer key: HTTP server returned unexpected status: Not Found
14:43:17 br.eti.kinoshita.testlinkjavaapi.util.TestLinkAPIException: Error verifying developer key: HTTP server returned unexpected status: Not Found
14:43:17 at br.eti.kinoshita.testlinkjavaapi.MiscService.checkDevKey(MiscService.java:64)
14:43:17 at br.eti.kinoshita.testlinkjavaapi.TestLinkAPI.<init>(TestLinkAPI.java:148)
14:43:17 at hudson.plugins.testlink.TestLinkBuilder.getTestLinkSite(TestLinkBuilder.java:331)
14:43:17 at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:206)
14:43:17 at hudson.tasks.BuildStepMonitor.perform(BuildStepMonitor.java:20)
14:43:17 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
14:43:17 at hudson.model.Build$BuildExecution.build(Build.java:206)
14:43:17 at hudson.model.Build$BuildExecution.doRun(Build.java:163)
14:43:17 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
14:43:17 at hudson.model.Run.execute(Run.java:1815)
14:43:17 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
14:43:17 at hudson.model.ResourceController.execute(ResourceController.java:97)
14:43:17 at hudson.model.Executor.run(Executor.java:429)
14:43:17 Caused by: org.apache.xmlrpc.client.XmlRpcHttpTransportException: HTTP server returned unexpected status: Not Found
14:43:17 at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.getInputStream(XmlRpcSunHttpTransport.java:94)
14:43:17 at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:152)
14:43:17 at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:143)
14:43:17 at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:69)
14:43:17 at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56)
14:43:17 at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167)
14:43:17 at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:158)
14:43:17 at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:147)
14:43:17 at br.eti.kinoshita.testlinkjavaapi.BaseService.executeXmlRpcCall(BaseService.java:83)
14:43:17 at br.eti.kinoshita.testlinkjavaapi.MiscService.checkDevKey(MiscService.java:61)
14:43:17 ... 12 more
14:43:17 ERROR: Error communicating with TestLink. Check your TestLink configuration.
14:43:17 Finished: FAILURE
我也检查了服务器这是使用的路径。不确定为什么仍然无法与测试通信-link.
基本上我正在尝试 运行 来自 Jenkins GitHub 代码的测试并在 test-link 中更新我的测试执行。
伙计们,通过要求 devops 从 nginix 端启用 XMLRPC 路径,它得到了修复。
所以基本上当我们尝试访问未定义路径的文件时会发生什么,当您从浏览器中点击时它说找不到文件。
所以基本上你需要启用路径并检查你正在访问正确的路径来访问 XMLRPC