[T​estlink-Jenkins Integration] Error verifying developer key: HTTP server returned unexpected status: Found

94 views
Skip to first unread message

rahulsoa

unread,
Jan 29, 2013, 8:57:23 AM1/29/13
to testlin...@googlegroups.com

Hello everyone,

Greetings,
 

I’m trying to connect Jenkins (1.482) with TestLink (1.9.4) thru my Jenkins configuration, but while running the job in Jenkins I get the below error in the console log. The job in Jenkins is trying to get all the test cases in the given testplan given in job’s configuration.

Please note that Jenkins is hosted on tomcat (linux) on network“gnb” and Testlink is hosted on php (linux) on another network “col2”.It works well when both are on my localhost (in windows)

Preparing TestLink client API.
Using TestLink URL: http://col2dev.cro.st.com/mr61_php5/testlink/lib/api/xmlrpc.php
 
FATAL: Error verifying developer key: HTTP server returned unexpected status: Found
br.eti.kinoshita.testlinkjavaapi.util.TestLinkAPIException: Error verifying developer key: HTTP server returned unexpected status: Found
        at br.eti.kinoshita.testlinkjavaapi.MiscService.checkDevKey(MiscService.java:66)
        at br.eti.kinoshita.testlinkjavaapi.TestLinkAPI.<init>(TestLinkAPI.java:162)
        at hudson.plugins.testlink.TestLinkBuilder.getTestLinkSite(TestLinkBuilder.java:244)
        at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:134)
        at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
        at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
        at hudson.model.Build$BuildExecution.build(Build.java:199)
        at hudson.model.Build$BuildExecution.doRun(Build.java:160)
        at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
        at hudson.model.Run.execute(Run.java:1502)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:236)
Caused by: org.apache.xmlrpc.client.XmlRpcHttpTransportException: HTTP server returned unexpected status: Found
        at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.getInputStream(XmlRpcSunHttpTransport.java:94)
        at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:152)
        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:90)
        at br.eti.kinoshita.testlinkjavaapi.MiscService.checkDevKey(MiscService.java:62)
        ... 12 more
ERROR: Error communicating with TestLink. Check your TestLink configuration.

I have below settings in my Jenkins’s configuration for Testlink installation

Name: testlink

URL: http://col2dev.cro.st.com/mr61_php5/testlink/lib/api/xmlrpc.php

Developer key: generated from Testlink (Settings->Generate a new key)

Can you please point me if I miss something?

Many thanks,

Rahul

Reply all
Reply to author
Forward
0 new messages