【发布时间】:2013-05-04 06:35:16
【问题描述】:
我正在尝试通过 xmlrpc API 连接到 TestLink。我在 TestLink 的 config.inc.php 中设置了以下内容:
$tlCfg->api->enabled = TRUE;
$tlCfg->exec_cfg->enabled_test_automation = ENABLED;
并重新启动 apache 服务器。我尝试通过python包TestLink-API-Python-client(https://github.com/orenault/TestLink-API-Python-client)连接TestLink服务器
from testlink import TestlinkAPIClient, TestLinkHelper
import sys
URL = 'http://MYSERVER/testlink/lib/api/xmlrpc.php'
DevKey = 'MYKEY'
tl_helper = TestLinkHelper()
myTestLink = tl_helper.connect(TestlinkAPIClient)
myTestLink.__init__(URL, DEVKEY)
myTestLink.checkDevKey()
然后我收到一个 TLConnectionError,说明我的网址和 404 Not Found...
有人知道吗?
谢谢。
【问题讨论】:
-
你解决了吗?我面临完全相同的错误。