REST API: Tests

Methods


TypeVer.Command parameterParameters
Getters
GET5beta2+ getTestTypes
Example of success:

GET7+ getTestTypes treeFilter=<treeFilter>
Example of success:

GET3.3b2+ getTestsTree
Example of success:

GET? getTestRootStatistics
Example of success:

GET? getTestFolderStatistics
Example of success:

GET3.2+ getTestForm
Example of success:

GET3.2+ getTestDetails testId=<id>
(opt.) frozen=<true|false>
Example of success:

GET3.2+ getTestDetailsRevision testId=<id>
revision=<revision>
Example of success:

GET3.2+ getTestScope testId=<id>
(opt.) frozen=<true|false>
Example of success:

GET3.2+ getTestScopeRevision testId=<id>
Example of success:

GET8+ getTestAuthor testId=<id>
Example of success:

GET8+ getTestDeveloper testId=<id>
Example of success:

GET3.2+ getTestLinkedSuts testIds=<id, id, ...>
Example of success:

GET3.2+ getTestLinkedRequirements testIds=<id, id, ...>
Example of success:

GET3.2+ getTestLinkedSpecifications testIds=<id, id, ...>
Example of success:

GET3.0+ getTestCustomFields testId=<id>
Example of success:

GET3.0+ getTestAttachments testId=<id>
Example of success:

GET3.0+ getTestInheritedAttachments testId=<id>
Example of success:

GET3.3b2+ getTestTestcases testId=<id>
Example of success:

GET4.1b1+ getTestAttributes testId=<id>
Example of success:

GET3.1sp3+ getTestRequirements testIds=<id, id, ...>
Example of success:

GET5+ getTestCampaigns testId=<id>
Example of success:

GET3.0+ getTestRevisions testId=<id>
Example of success:

GET3.0+ getTestChanges testId=<id>
Example of success:

GET5+ getTestResultsTestcases testId=<id>
Example of success:

GET5+ getTestResultsSteps testId=<id>
Example of success:

GET5+ getTestResultsHistory testId=<id>
Example of success:

GET6+ getTestFreezeStatus testId=<id>
Example of success:

GET6+ getTestAssets testId=<id>
Example of success:

GET6+ getTestAssetRule testId=<id>
Example of success:

GET6+ getTestEstimatedTime testId=<id>
Example of success:

GET6+ getTestDependencies testId=<id>
Example of success:

GET7+ getTestParamsCombinations testId=<id>
Example of success:

GET9+ getCategoryTestsWithCanonicalPath categoryId=<id>
Example of success:

Setters
POST3.0+createTest parentFolderId=<id>
Content of the form with values
(see getTestForm)
must be passed in the request's body
as multi-part.
Example of success:

POST6b2+generateTests treeType=<treeType>
srcFolderId=<id> of the source requirement folder
destFolderId=<id> of the destination test folder
(opt.) defaultTestType=integer value of the <testType>
(opt.) defaultTestStatus=<testStatus>
(opt.) defaultTestPriority=<testPriority>
(opt.) renameFolderIfExisting=<true|false>
(opt.) renameTestIfExisting=<true|false>
Example of success:

POST3.2+updateTestDetails Content of the form with values
(see getTestDetails)
must be passed in the request's body
as multi-part.
Example of success:

Example of failure:
POST3.2+updateTestScope Content of the form with values
(see getTestScope)
must be passed in the request's body
as multi-part.
Example of success:

Example of failure:
POST5+updateTestsStatus testIds=<id, id, ...>
status=<testStatus>
Example of success:

Example of failure:
POST5+updateTestsPriority testIds=<id, id, ...>
priority=<testPriority>
Example of success:

Example of failure:
POST5+updateTestsType testIds=<id, id, ...>
type=<testType>
Example of success:

Example of failure:
POST4.0+updateTestTestcases testId=<id>
testcaseIds=<id, id, ...>
Example of success:

POST6+updateTestEstimatedTime testId=<id>
estimatedTime=<estimatedTime> (in milliseconds)
Example of success:

Example of failure:
POST3.2+linkTestToRequirements testId=<id>
(opt.) connectorIndex=<index>

The list of the requirement Ids
must be passed in the request's body
in the object list format
Example of success:

Example of failure:
POST3.2+linkTestToSpecifications testId=<id>

The list of the specification Ids
must be passed in the request's body
in the object list format
Example of success:

Example of failure:
POST4.1+insertTestAttributeValue testId=<id>
attributeType=<attributeType>
attributeId=<id>
attributeValue=<value>
Example of success:

Example of failure:
POST4.1+removeTestAttributeValue testId=<id>
attributeType=<attributeType>
attributeId=<id>
Example of success:

Example of failure:
POST3.2+insertTestCustomFieldValue testId=<id>
type=<customFieldType>
customFieldId=<id>
customFieldValue=<value>...
Example of success:

POST3.3b5+copyTests testIds=<id, id, ...>
testNames=<name, name, ...>
destParentFolderId=<id>
Example of success:

POST3.2sp3+moveTests testIds=<id, id, ...>
testNames=<name, name, ...>
destParentFolderId=<id>
Example of success:

POST3.0+freezeTest testId=<id>
Example of success:

POST3.0+unfreezeTest testId=<id>
Example of success:

GET? signTest
Example of success:

POST3.0+deleteTests testIds=<id, id, ...>
Example of success: