我试图通过xmlrpc API连接到TestLink。我在TestLink的config.inc.php中设置了以下内容:TestLink xmlrpc API(通过Python)404找不到
$tlCfg->api->enabled = TRUE;
$tlCfg->exec_cfg->enabled_test_automation = ENABLED;
并重新启动apache服务器。我试图通过Python包TestLink的-API的Python客户端(https://github.com/orenault/TestLink-API-Python-client)
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连接TestLink的服务器,说明我的网址,以及404未找到......
有人有什么主意吗?
谢谢。
你解决了吗?我面临完全相同的错误。 – 2013-10-04 15:30:34