AKAI TSUKI

System development or Technical something

TestLink Java API(XML-RPC API)を使用するための設定

XML-RPC APIを利用するためにTestLinkの設定を変更します。

Documentationにある"Installation & Configuration manual"の中に
APIを利用する設定について以下の記述があります。

7. TestLink API

SOAP API is disabled by default (for security reason).
Set then next parameter to TRUE if you would like to use it.

$tlCfg->api_enabled = FALSE;

Format of showing the personal API identification within GUI (View pages).

$tlCfg->api_id_format= "[ID: %s ]";


上記の内容に基づいて、/config.inc.phpを変更します。
変更する箇所は以下のところで、FALSEをTRUEに変更します。

// --------------------------------------------------------------
/* [API] */

/** XML-RPC API availability (disabled by default) */
$tlCfg->api->enabled = FALSE;

設定を変更したらapacheを再起動!

sudo /etc/init.d/apache2 restart


参考になるのは以下のページですね。
http://www.teamst.org/forum/viewtopic.php?f=10&t=2858
http://ruby.g.hatena.ne.jp/garyo/20110927/p2