Test Link XML-RPC API - PHP Samples


Attention: DEVKEY is still setted to demo value (CLIENTSAMPLEDEVKEY)

Please check if this VALUE is defined for a user on yout DB Installation

This sample can be runned without changes against sample database testlinkAPI
that you will find on [YOUR TL INSTALLATION DIR]\docs\db_sample\



Test 1 - getTestCasesForTestPlan
$args (array)
devKey CLIENTSAMPLEDEVKEY
testplanid 3020
executiontype 2

click to show XML-RPC Client Debug Info


Result was: NULL


Test 1 - getTestCasesForTestPlanFilter by Keyword name - JUST ONE KEYWORD
$args (array)
devKey CLIENTSAMPLEDEVKEY
testplanid 3020
keywords Key Feature

click to show XML-RPC Client Debug Info


Result was: NULL


Test 1 - getTestCasesForTestPlanFilter by Keyword name - Multiple Keywords - ONLY OR Search
$args (array)
devKey CLIENTSAMPLEDEVKEY
testplanid 3020
keywords Key Feature,Must have,Obsolete,Performance,System wide,Usability

click to show XML-RPC Client Debug Info


Result was: NULL


Test 1 - getTestCasesForTestPlanget steps info: -> false
$args (array)
devKey CLIENTSAMPLEDEVKEY
testplanid 3020
getstepsinfo FALSE

click to show XML-RPC Client Debug Info


Result was: NULL


Test 1 - getTestCasesForTestPlanget steps info: -> true
$args (array)
devKey CLIENTSAMPLEDEVKEY
testplanid 3020
getstepsinfo TRUE

click to show XML-RPC Client Debug Info


Result was: NULL