testlink plugin handle testlink URL with http authetication issue

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Critical
    • Component/s: testlink-plugin
    • None

      Hi,
      I have installed the Hudson and testlink on the same server.
      hudson: http://localhost/
      testlink: http://localhost/testlink/
      Both of them are just working fine. Recently I install the testlink plugin on the hudson, so that I can establish the connection between testlink and hudson.
      I did follow all the instruction to install the plugin and hookup the testlink.
      While run same sample job, I saw following error:
      Preparing TestLink client API
      Using TestLink URL: http://username:password@localhost/testlink/lib/api/xmlrpc.php
      (tried http://localhost/testlink/lib/api/xmlrpc.php too)
      Retrieving TestLink details about Test Project, Test Plan and Build.
      FATAL: Error creating test project: HTTP server returned unexpected status: Authorization Required
      br.eti.kinoshita.testlinkjavaapi.TestLinkAPIException: Error creating test project: HTTP server returned unexpected status: Authorization Required

      Unfortunately, testlink will require a http authetication in my case. I have tried to put URL like http://username:password@localhost/testlink/ . It is just not working, and I really do not know about the php. I guess testlink/lib/api/xmlrpc.php will whip out the username and password part from url parsing function.

      Hope you can help me get some work around here. Sorry I put the priority to "critical", it blocked most of my activity.
      Thanks in advance.

            Assignee:
            Bruno P. Kinoshita
            Reporter:
            ryo hang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: