Saya mencoba mengonfigurasi Jenkin untuk mengakses Testopia dan memperbarui proses. Sejauh ini saya telah mengunduh plugin, mengonfigurasinya, dan menambahkan 'Invoke Testopia'. Saya menggunakan kerangka TestNG untuk mengeksekusi Integration Test Cases. Masalahnya adalah Jenkin tidak dapat masuk ke testopia.
Global Config Used - Testopia URL = https: // bugzilla ..bersih
Silakan temukan pesan kesalahan di bawah ini -
Connecting to Testopia to retrieve automated test cases
java.lang.RuntimeException: Failed to login!
at org.mozilla.testopia.service.xmlrpc.XmlRpcMiscService.login(XmlRpcMiscService.java:63)
at org.mozilla.testopia.TestopiaAPI.login(TestopiaAPI.java:106)
at jenkins.plugins.testopia.TestopiaBuilder.perform(TestopiaBuilder.java:214)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
at hudson.model.Build$BuildExecution.build(Build.java:206)
at hudson.model.Build$BuildExecution.doRun(Build.java:163)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
at hudson.model.Run.execute(Run.java:1794)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Caused by: org.apache.xmlrpc.client.XmlRpcClientException: Failed to parse server's response: The declaration for the entity "HTML.Version" must end with '>'.
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:137)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:126)
at org.mozilla.testopia.service.xmlrpc.XmlRpcMiscService.login(XmlRpcMiscService.java:61)
... 11 more
Caused by: org.xml.sax.SAXParseExceptionpublicId: -//W3C//DTD HTML 4.01 Transitional//EN; systemId: http://www.w3.org/TR/html4/loose.dtd; lineNumber: 31; columnNumber: 3; The declaration for the entity "HTML.Version" must end with '>'.
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1239)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
at org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTransport.java:186)
... 19 more
ERROR: Failed to login!
Silakan baca aturan dan panduan tentang memformat posting Anda
—
davidbaumann