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 - getTestCaseCustomFieldDesignValue -> Ask for NON EXISTENT VERSION
$args (array)
devKey CLIENTSAMPLEDEVKEY
testcaseexternalid QAZ-1
testprojectid 455
customfieldname M LIST
details simple
version 3

click to show XML-RPC Client Debug Info


Result was: NULL


Test 1 - getTestCaseCustomFieldDesignValue -> Must be GOOD call
$args (array)
devKey CLIENTSAMPLEDEVKEY
testcaseexternalid QAZ-1
testprojectid 455
customfieldname M LIST
details simple
version 2

click to show XML-RPC Client Debug Info


Result was: NULL


Test 1 - getTestCaseCustomFieldDesignValue -> Another GOOD call but for a DIFFERENT Version
$args (array)
devKey CLIENTSAMPLEDEVKEY
testcaseexternalid QAZ-1
testprojectid 455
customfieldname M LIST
details simple
version 1

click to show XML-RPC Client Debug Info


Result was: NULL