Open
Bug 1099478
Opened 10 years ago
Updated 10 years ago
Can't get Test Runs via XML-RPC API
Categories
(Testopia :: API, defect)
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: brunodepaulak, Assigned: gregaryh)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/37.0.2062.120 Chrome/37.0.2062.120 Safari/537.36
Steps to reproduce:
Hello, I am one of the maintainers of Jenkins Testopia Plug-in. Recently an issue has been reported in the Java driver used for communicating with Testopia [1], that impedes the plug-in of working with newer versions of Testopia and Bugzilla. IIUC, Bugzilla web services have switched from cookies to tokens.
- Call User.login and get Token
- Call Testrun.get (it doesn't ask for the token field)
Bugzilla 4.4.5, Testopia 2.5.
[1] https://github.com/kinow/testopia-java-driver/issues/2
Actual results:
Java exception:
log4j:WARN No appenders could be found for logger (org.apache.commons.configuration.PropertiesConfiguration).
log4j:WARN Please initialize the log4j system properly.
org.apache.xmlrpc.XmlRpcException: You must log in before using this part of Bugzilla.
at org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTransport.java:197)
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.XmlRpcTestRunService.getTestRun(XmlRpcTestRunService.java:63)
at org.mozilla.testopia.model.T.main(T.java:92)
Even tried to add the token in the parameters hash, without success.
Expected results:
It should have return a Test Run
Reporter | ||
Updated•10 years ago
|
OS: All → Linux
Hardware: All → x86_64
You need to log in
before you can comment on or make changes to this bug.
Description
•