Since I don't have enough reputation I could answer the following question:
I'm trying to connect to TestLink via the xmlrpc API. I've set the following in TestLink's config.inc.php:
$tlCfg->api->enabled = TRUE;
$tlCfg->exec_cfg->enabled_test_automation = ENABLED;
and restarted the apache sever. I tried to connect the TestLink server via the python package TestLink-API-Python-client (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()
And then I receive a TLConnectionError, stating my url, and 404 Not Found...
Does anyone have any idea?
Thanks.
ANSWER: Remove "testlink" from the URL. For example:
URL = 'http://MYSERVER/lib/api/xmlrpc.php'
I was able to get the following to work with TestLink 1.9.3 (My company uses an older version - I think the current TL version is 1.9.12). I'm using the latest Python TestLink API version 0.5.2. Please change your server url and dev key for the following code. Also note that I use https instead of http to connect to the xmlrpc file.
I also posted it as an issue here