【问题标题】:Testlink integration with redmine (interface:rest) is not workingTestlink 与 redmine 的集成(界面:rest)不起作用
【发布时间】:2017-03-16 11:29:04
【问题描述】:

我们在 Amazon Cloud 上的 2 台不同服务器上托管了 Redmine 和 Testlink。 我使用以下方法/解决方法来建立这两者之间的连接,但是我在执行测试页面上得到“某些东西阻止连接到错误跟踪系统,它会产生性能问题......”测试链接。

  • 在问题跟踪管理中进行以下配置

Redmine(界面:休息)

<issuetracker>
    <apikey>3fe68920f3cf</apikey>
    <uribase>https://odessa.sharred.net</uribase>
    <uriview>https://odessa.sharred.net/redmine/CM/issues/</uriview> <!-- for Redmine 1.x add show/ --> 
    <projectidentifier>Common</projectidentifier>
    </issuetracker>
  • 从 redmine 启用 API。
  • 在 C:\xampp\htdocs\testlink\third_party\redmine-php-api\lib\redmine-rest-api.php 中设置 curl_setopt() 以允许使用 HTTPS。
  • 尝试使用 IP 地址而不是主机名提供 Redmine Base URL。
  • 在 testlink 的事件部分看不到任何相关日志。
  • 在 config.inc.php 中添加了 redmine 条目,其中 $g_interface_bugs='REDMINE';
  • 还观察到 URIBASE 中给出的 URL 正在 Web 浏览器中打开,参数作为键传递,即 https://odessa.sharred.net?key=3fe68920f3cf 可从 testlink 服务器访问。

对此问题的任何见解/解决方案都会有很大帮助。

【问题讨论】:

  • 你检查过redmine的日志吗?

标签: php redmine testlink redmine-api


【解决方案1】:
Your configuration should look something like this.

    <issuetracker>
    <apikey>3fe68920f3cf</apikey>
    <uribase>https://ServerIP/redmine</uribase>
    <uriview>https://ServerIP/redmine/issues/</uriview>
    <projectidentifier>CM</projectidentifier>
    </issuetracker>
I also had trouble and just got it working now. If you still have issue goto http://TLServerIP/testlink/lib/events/eventviewer.php and check the error Similarly you can go to //redmineinstalldir/apps/redmine/htdocs/log/production.log to see what error you are getting after you click test connection on testlink

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-03-12
    • 2010-10-05
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多