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 - createTestProject() :::
$args (array)
devKey CLIENTSAMPLEDEVKEY
testcaseprefix AXECX1
testprojectname API Methods Test Project AXECX1
notes test project created using XML-RPC-API -

click to show XML-RPC Client Debug Info


Result was: NULL


Test 2 - createTestProject() ::: Options[requirementsEnabled -> 0 ] active -> 0, public -> 0
$args (array)
options
array
requirementsEnabled 0
devKey CLIENTSAMPLEDEVKEY
testcaseprefix AXECX2
testprojectname API Methods Test Project AXECX2
active 0
public 0
notes test project created using XML-RPC-API -
Options[requirementsEnabled -> 0 ] active -> 0, public -> 0

click to show XML-RPC Client Debug Info


Result was: NULL


Test 3 - createTestProject() ::: Options[requirementsEnabled -> 0 testPriorityEnabled -> 0 ] active -> 0, public -> 0
$args (array)
options
array
requirementsEnabled 0
testPriorityEnabled 0
devKey CLIENTSAMPLEDEVKEY
testcaseprefix AXECX3
testprojectname API Methods Test Project AXECX3
active 0
public 0
notes test project created using XML-RPC-API -
Options[requirementsEnabled -> 0 testPriorityEnabled -> 0 ] active -> 0, public -> 0

click to show XML-RPC Client Debug Info


Result was: NULL


Test 4 - createTestProject() ::: Options[requirementsEnabled -> 0 testPriorityEnabled -> 0 automationEnabled -> 0 inventoryEnabled -> 0 ] active -> 0, public -> 0
$args (array)
options
array
requirementsEnabled 0
testPriorityEnabled 0
automationEnabled 0
inventoryEnabled 0
devKey CLIENTSAMPLEDEVKEY
testcaseprefix AXECX4
testprojectname API Methods Test Project AXECX4
active 0
public 0
notes test project created using XML-RPC-API -
Options[requirementsEnabled -> 0 testPriorityEnabled -> 0 automationEnabled -> 0 inventoryEnabled -> 0 ] active -> 0, public -> 0

click to show XML-RPC Client Debug Info


Result was: NULL


Test 5 - createTestProject() ::: Options[requirementsEnabled -> 0 testPriorityEnabled -> 0 automationEnabled -> 0 inventoryEnabled -> 0 ] active -> 0, public -> 1
$args (array)
options
array
requirementsEnabled 0
testPriorityEnabled 0
automationEnabled 0
inventoryEnabled 0
devKey CLIENTSAMPLEDEVKEY
testcaseprefix AXECX5
testprojectname API Methods Test Project AXECX5
active 0
public 1
notes test project created using XML-RPC-API -
Options[requirementsEnabled -> 0 testPriorityEnabled -> 0 automationEnabled -> 0 inventoryEnabled -> 0 ] active -> 0, public -> 1

click to show XML-RPC Client Debug Info


Result was: NULL


Test 6 - createTestProject() ::: Options[requirementsEnabled -> 0 testPriorityEnabled -> 0 automationEnabled -> 0 inventoryEnabled -> 0 ] active -> 1, public -> 0
$args (array)
options
array
requirementsEnabled 0
testPriorityEnabled 0
automationEnabled 0
inventoryEnabled 0
devKey CLIENTSAMPLEDEVKEY
testcaseprefix AXECX6
testprojectname API Methods Test Project AXECX6
active 1
public 0
notes test project created using XML-RPC-API -
Options[requirementsEnabled -> 0 testPriorityEnabled -> 0 automationEnabled -> 0 inventoryEnabled -> 0 ] active -> 1, public -> 0

click to show XML-RPC Client Debug Info


Result was: NULL


Test 7 - createTestProject() ::: Options[requirementsEnabled -> 0 testPriorityEnabled -> 0 automationEnabled -> 0 inventoryEnabled -> 0 ] active -> 1, public -> 1
$args (array)
options
array
requirementsEnabled 0
testPriorityEnabled 0
automationEnabled 0
inventoryEnabled 0
devKey CLIENTSAMPLEDEVKEY
testcaseprefix AXECX7
testprojectname API Methods Test Project AXECX7
active 1
public 1
notes test project created using XML-RPC-API -
Options[requirementsEnabled -> 0 testPriorityEnabled -> 0 automationEnabled -> 0 inventoryEnabled -> 0 ] active -> 1, public -> 1

click to show XML-RPC Client Debug Info


Result was: NULL