2017-03-16 106 views
0

我们有Redmine & TestLink托管在Amazon Cloud上的2台不同服务器上。 我使用下面的方法/解决方法来建立这两者之间的连接,但是我得到“有些东西阻止连接到错误跟踪系统,它会在testlink的执行测试页面上创建性能问题...”。 (:其余接口)从管理平台Testlink与redmine(界面:rest)的集成不起作用

<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> 
  • 启用API

    管理平台制造在以下问题跟踪管理配置。

  • 为使curl_setopt()允许使用HTTPS,在C:\ xampp \ htdocs \ testlink \ third_party \ redmine-php-api \ lib \ redmine-rest-api.php中进行设置。
  • 尝试使用IP ADDRESS而不是主机名给予Redmine基本URL。
  • 在testlink的活动部分没有看到任何相关日志。
  • 用$ g_interface_bugs ='REDMINE'在config.inc.php中添加redmine条目;
  • 还观察到URIBASE中给出的URL在web浏览器中打开,参数作为密钥传递,即https://odessa.sharred.net?key=3fe68920f3cf 可从testlink服务器访问。

对这个问题的任何见解/解决方案将是很大的帮助。

+0

你检查了redmine的日志吗? –

回答

0
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