REST API: Tests

Methods


TypeVer.Command parameterParameters
Getters
GET5beta2+ getTestTypes
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:

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:

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:

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+updateTestStatus testId=<id>
status=<testStatus>
Example of success:

Example of failure:
POST5+updateTestPriority testId=<id>
priority=<testPriority>
Example of success:

Example of failure:
POST5+updateTestType testId=<id>
type=<testType>
Example of success:

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

POST3.2+linkTestToRequirements testId=<id>
requirementIds=<id, id, ...>
Example of success:

Example of failure:
POST3.2+linkTestToSpecifications testId=<id>
specificationIds=<id, id, ...>
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:

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