API for Test Suites

Get List of Test Suites

POST /rest/testsuites/list

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
startbodynoStart index of records-integer
limitbodynoNumber of records per page-integer
pagebodynoPage number to be displayed-integer
tsFolderIDbodyyesFolderId of Test Suites-integer
scopebodyyesScope of Testsuite, possible values project,release,cycle-string


Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testsuite list fetch successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


Get Test Suite List along with Fields

POST /rest/testsuites/list/viewColumns

Description

Fetch specific data of test suites with custom fields.

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
viewIdbodyyesView ID of the user for that particular project and Testsuite module. View ID can be fetched from latestViews section of Getinfo API.-integer
folderPathbodyyesPath of folder whose Testsuites are to be fetched-string
startbodynoStart index of records-integer
limitbodynoNumber of records per page-integer
pagebodynoPage number to be displayed-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testsuite list fetched successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

View Test Suite Details

POST /rest/testsuites/detail/data

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
idbodyyesId of Testsuite-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Test Suites detail fetch successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Create Test Suite

POST /rest/testsuites

Description

API to create testsuite

Request

Content-Type: application/json


Parameters

NameLocated inRequiredDescriptionDefaultSchema
parentFolderIdbodyyesParent folderId of Test Suites-string
isAutomatedFlagbodyyesDefault value false-boolean
namebodyyesSummary of Test Suites-string
descriptionbodynoDescription of Test Suites-string
ownerbodynoOwner of Test Suites-integer
testSuiteStatebodynoStatus of Test Suites-integer
associateRelCycbodynoPass true only when releaseCycleMapping is passed-boolean
releaseCycleMappingbodynoAn array of releaseId, buildID(Do not pass tsId)-Array[Data]
requirementIdbodynoId of the requirement from which user wants to create testsuite-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200TestSuite created successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Update Test Suite

PUT /rest/testsuites

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
parentFolderIdbodynoParent folderId of Test Suites-string
isAutomatedFlagbodynoDefault value false-boolean
namebodynoSummary of Test Suites-string
descriptionbodynoDescription of Test Suites-string
ownerbodynoOwnerId of Test Suites-integer
ownUserbodynoAn array of ownerId of Test Suites-Array[integer]
owneraliasbodynoOwner name of Test Suites-string
testSuiteStatebodynoStatusId of Test Suites-integer
testSuiteStateAliasbodynoStatus name of Test Suites-string
tsStatebodynoAn array of statusId of Test Suites-Array[integer]
entityKeybodyyesEntityKey of Test Suites-string
folderPathbodynoFolder path of Test Suites-string
TsFolderIDbodyyesFolder Id of Test Suites-integer
idbodyyesId of Test Suites-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Test Suites update successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Copy a Test Suite

PUT /rest/testsuites/copy

Description

Copy TestSuite in same folder or another folder

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
srcFolderIdbodyyesSource FolderId of Testsuite-integer
destFolderIdbodyyesDestination FolderId of Testsuite-integer
idbodyyesId of Test Suites-string
isBulkOperationbodynoBulkOperation flag-boolean
isPlatformCopybodynocopy platform(s) if flag is true (default:true)-boolean
isReleaseCycleCopybodynocopy release(s)/cycle(s) if flag is true (default:true)-boolean
executionStatusIdsbodynocopy only test cases having selected test execution status (Default :null)-string
isPlatformCopyWithSelctedStatusbodynocopy platform(s) with selected test execution status (default:false)-boolean
isLatestVersionSyncbodynosync latest version of test case(s) (default:false)-boolean
isResetToNotrunbodynoTo preserve existing test execution status of test case(s) (default:true)-boolean
isResetAssigneebodynoTo Reset Assignee of test case(s) (default:false)-boolean

Response

Content-Type: application/json

Status CodeReasonResponse Model
200TestSuite copied successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Delete Test Suite

POST /rest/testsuites/delete

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
idsbodyyesId of Test Suite-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200TestSuites deleted successfullyResponseEntity
400Invalid json object-
401Unauthorised or session expired-
500Returned when server connection times out-

Delete Test Suites in Bulk

POST /rest/testsuites/deleteEntity

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
entityIdsbodyyesId of Testsuites that have to be deleted-Array[integer]

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testsuites deleted successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


Get List of Test Suite Folders (Deprecated)

GET /rest/testsuites/tree

Request

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tsSortTreeColumnquerynoSort criteria based on which Testsuite Folders list will be obtained-string
tsSortTreeDirquerynoDirection of sorting-string
nodequeryyesId of parent folder whose sub folders are to be fetched-integer
hideFoldersqueryyesSend to true to hide empty folders-boolean
viewIdqueryyesId of view that can be obtained from latestViews key in getInfo service-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testsuite folder data fetched successfullyResponseEntity
401Unauthorised or session expired-
500Returned when server connection times out-


Get information of sub folders of a particular folder

POST /rest/testsuites/tree

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tsFolderIDbodyyesFolder ID of Selected TestSuite Folder-integer
hideFoldersbodynoFlag to Hide empty Folders-boolean
sortbodynoSort Folders by date or name-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200TestSuite folder tree listed successfully.ResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


Create Test Suite Folder

POST /rest/testsuites/folders

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
namebodyyesFolder Name-string
parentIdbodyyesID of parent folder-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200TestSuite Folder created successfullyResponseEntity
400Folder already exists-
401Unauthorised or session expired-
500Returned when server connection times out-

Archive Test Suite Folder

POST /rest/testsuites/folder/archive

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
Archive Folder RequestbodyyesArchive Folder Inputs-TsFolderArchiveRequestDetail

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Folder archived successfullyResponseEntity
400Following fields are missing:tsFolderIDs-
401Unauthorised or session expired-
500Returned when server connection times out-

Unarchive Test Suite Folder

POST /rest/testsuites/folder/unarchive

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
Unarchive Folder RequestbodyyesUnarchive Folder Inputs-TsFolderUnarchiveRequestDetail

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Folder unarchived successfullyResponseEntity
400Following fields are missing:tsFolderIDs-
401Unauthorised or session expired-
500Returned when server connection times out-

Update Test Suite Folder

PUT /rest/testsuites/folders

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
folderIdbodyyesUnique identifier of Testsuite Folder to update-integer
namebodyyesUpdate Testsuite Folder name-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testsuite Folder updated successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Delete Test Suite Folder

POST /rest/testsuites/folders/delete

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tsFolderIDbodyyesFolderId of Test Suites-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200TestSuite folder successfully deleted.ResponseEntity
400Invalid json object or mandatory fields missing.-
401Unauthorised or session expired.-
500Returned when server connection times out.-

Get all Releases & Cycles of Test Suite

POST /rest/testsuites/getReleaseCycleForTestSuite

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tsIDbodyyesId of Testsuite-integer
limitbodyyesNumber of record per page-integer
pagebodyyesPage number to be displayed-integer
startbodyyesStart index of records-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Release & Cycle list fetch successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Add Release & Cycle To Test Suite

POST /rest/testsuites/mapReleaseCycle

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
databodyyesAn array of Data-Array[Data]

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Scope successfully added to testsuiteResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Remove Release & Cycle from Test Suite

POST /rest/testsuites/unMapReleaseCycle

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tsReleaseCycleMapIDbodyyesId of Testsuite's Release Cycle mapping-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Scope successfully deleted to testsuiteResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

List Test Cases Linked to Test Suite

POST /rest/testsuites/testcase/list

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
filterbodynoFilter to only show unshared Testcases-Array[Filter]
tsIDbodyyesId of Testsuite whose linked Testcases are to be obtained-integer
startbodyyesstart index of records-integer
limitbodyyesnumber of records per page-integer
pagebodyyespage number to be displayed-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testcases linked with the Testsuite shown successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Link Test Cases to Test Suite (Deprecated)

PUT /rest/testsuites/link/testcases

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tsIDbodyyesUnique identifier of Testsuite-integer
tcIDsbodyyesVersion ID of Testcases which are to be linked with Testsuite-Array[integer]
fromReqsbodyyesTrue for Testcase link from Requirement otherwise false-boolean
linktcbodyyesTrue for Testcase link, default value true-boolean

Response

Content-Type: application/json

Status CodeReasonResponse Model
200TestCases successfully linked to TestSuiteResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


Link Test Cases to Test Suite

PUT /rest/testsuites/dolink/TCs

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tsIDbodyyesUnique identifier of Testsuite-integer
tcvdIDsbodyyestcVersionIDs to link to testsuite-Array[integer]
fromReqsbodynoTrue for Testcase link from Requirement otherwise false-boolean
rqEntitykeysbodynoComma-separated value of Requirement's entityKey, it can use for when pass True for Testcase link from Requirement-string
tcEntitykeysbodynoComma-separated value of Testcase's entityKey, it can use for when pass False for Testcase link from Requirement-string
isTcSkipbodynoIf you want to skip already linked Testcase's/Requirement's than pass true else false-boolean

Response

Content-Type: application/json

Status CodeReasonResponse Model
200TestCases successfully linked to TestSuiteResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


Update Test Case Linked to Test Suite with its Latest Version

POST /rest/testsuites/link/testcaseWithLatestVersion

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tcRunIDbodyyesUnique identifier of Testcase Run-Array[integer]
syncAllbodynoFlag to Sync all Testcase Run-boolean
tsRunIDbodyyesUnique identifier of Testsuite Run-integer
usernamebodynoUsername of the user who is being authenticated-string
passwordbodynoPassword of the user who being authenticated-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Linked Testcase of the Testsuite successfully updated to latest available versionResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Unlink Testcase(s) from Testsuite (Deprecated)

PUT /rest/testsuites/unlink/testcases

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tcIDsbodyyesAn array of TestcaseId of Test Cases-Array[string]
tsIDbodyyesEntityKey of Test Suites-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testcase successfully unlinked to testsuiteResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Unlink Testcase(s) from Testsuite

PUT /rest/testsuites/doUnlink/TCs

Description

Unlink testcases from TestSuite.

Request

Content-Type: application/json

Parameters
NameLocated inRequiredDescriptionDefaultSchema
tcTsIDsbodyyesComma separated string of tcTsIds-Array[integer]


Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testcase successfully unlinked to testsuiteResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

List of Platforms Linked to a Test Suite

POST /rest/testsuites/getplatformwithname

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tsIDbodyyesId of Testsuite-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Successfully get linked platforms from testsuiteResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Link Platforms to Test Suite

PUT /rest/testsuites/link/platforms

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
qmTsIdbodyyesId of Test Suites-integer
qmPlatformIdbodyyesComma-separated value of PlatformId-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Selected platforms successfully linked to testsuiteResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Unlink Platforms from Test Suites

PUT /rest/testsuites/unlink/platforms

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
qmTsIdbodyyesId of Test Suites-integer
platformIDbodyyesComma-separated value of platformId of Platform-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Platforms successfully unlinked to testsuiteResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Assign Platform Owner to Test Suites

PUT /rest/testsuites/assign/platform

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
platformownerbodyyesOwnerId of selected User-integer
qmAllowBulkEmailbodynoTrue for send email to selected user otherwise false-boolean
tsRunIdsbodyyesTestRunId of Test Suites-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Successfully assigned owner of platform from testsuitesResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Assign Tester to Test Case During Execution

PUT /rest/testsuites/assign/tester

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
qmAllowBulkEmailbodyyesFlag to decide whether an email to the watchers of the Testsuite is to be sent-boolean
qmTsRunIdbodyyesUnique identifier of the Testsuite Run-boolean
tcrIDsbodyyesId of Testcase Runs to whom a tester is to be assigned-string
userIdbodyyesId of user which is to be assigned as tester for the specified Testcase Runs-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Tester assigned successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Update Run Comments

PUT /rest/execution/updaterun

Description

API to update run comment

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
typebodyyesAbbreviated entity type-string
fieldValbodyyesValue of field-string
isAutoExecutedbodyyesTrue if it is to be automatically executed and false if otherwise-integer
entityIdbodyyesUnique identifier of Testcase Run-integer
fieldbodyyesField which is to be updated-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Run Status updated successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Get Test Suite Run IDs

POST /rest/execution/list/platformHome

Description

Find the number of executions of a test suite.

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tsIDbodyyesID of Testsuite whose Testsuite Runs are to be obtained-string
startbodynoStart index of records-integer
limitbodynoNumber of records per page-integer
pagebodynoPage number to be displayed-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Successfully fetched Testcase RunsResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Get Test Case Run IDs [Deprecated]

POST /rest/execution/list/tcr

Description

APIs for Test Executions

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tsrIDbodyyesID of Testsuite Run whose Testcase Runs are to be obtained-string
startbodyyesStart index of records-integer
limitbodyyesNumber of records per page-integer
pagebodyyesPage number to be displayed-integer
filterbodyyesAdd filter to get filtered Testcase Runs-Array[Filter]
showTcWithDefectsbodynoTrue to get only those Testcase Runs which have Defects linked with them-boolean

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Successfully fetched Testcase RunsResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


Get list of Testcase Step Run for a Test Case execution (Deprecated)

POST /rest/execution/list/tcsr

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tcrIDbodyyesUnique identifier of Testcase Run whose Testcase Step Runs are to be fetched-integer

Response

Content-Type: application/json

Status CodeReason

Fetch Testcase List

POST /rest/testcases/list/forTS

Description

Testcase list for testsuite.

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
startbodynoStart index of records-integer
showAllStateEntitiesbodynoTrue to get testcases of approved state only, false to get testcases of any state-boolean
getLinkedbodynoTrue to get only those testcases that are linked with this defect, false to get all testcases. While using True "tsID" is mandatory-boolean
tsIDbodynoId of Test Suite-integer
showEntityWithReleaseCyclebodynoList only those Testcases which have the same associated releases and cycles as the Testsuite-boolean
limitbodynoNumber of records per page-integer
pagebodynoPage number to be displayed-integer
getColumnsbodynoTrue to get list of all available filters(System + UDF) in 'filterTemplate' field-boolean
udfFilterbodynoApply filter on user defined fields' values-Array[UdfFilter]
filterbodynoSystem filters to be applied-Array[Filter]

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testcase list fetch successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

List of Issues Linked to Execution

POST /rest/execution/issue/list [Deprecated]

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
entityIdbodyyesTestcaseRunId or TestcaseStepRunId-string
istcsrFlagbodyyesTrue for Testcase Step-boolean
istcrFlagbodyyesTrue for Testcase-boolean
startbodyyesStart index of records-integer
limitbodyyesNumber of records per page-integer
pagebodyyesPage number to be displayed-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Issues of particular execution shown successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Get list of Issue available for linking or already linked to Test case Run

POST /rest/execution/issue/list/forTCRun

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
entityIdbodyyesTestcaseRunId-string
getLinkedbodyyesTrue for get linked testcase otherwise false-boolean
getColumnsbodyyesTrue for get default filtered column list-boolean
startbodynoStart index of records-integer
limitbodynoNumber of records per page-integer
pagebodynoPage number to be displayed-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Issues of particular execution shown successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Get list of issue available for linking or already linked to Test case Step Run

POST /rest/execution/issue/list/forTCStepRun

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
entityIdbodyyesTestcaseStepRunId-string
getLinkedbodyyesTrue for get linked testcase otherwise false-boolean
getColumnsbodyyesTrue for get default filtered column list-boolean
startbodynoStart index of records-integer
limitbodynoNumber of records per page-integer
pagebodynoPage number to be displayed-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Issues of particular execution shown successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Get list of Testcase Step Run for a Test Case execution along with dynamic columns

POST /rest/execution/tcStepRun/list/viewColumns

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tcrIDbodyyesUnique identifier of Testcase Run whose Testcase Step Runs are to be fetched-integer
viewIdbodyyesView ID of the user for that particular project and Testcase Step Run module-integer
startbodynoStart index of records-integer
limitbodynoNumber of records per page-integer
pagebodynoPage number to be displayed-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200List of Testcase Step Runs fetched successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Link Issues to Test Case During Execution

PUT /rest/execution/link/issue

Description

API to link issues to the testcase being executed

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
issueIdsbodyyesID of issues to be linked to Testcase Run-Array[string]
tcrIdbodyyesID of Testcase Run to link issues with-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Issues successfully linked to executionResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Unlink Issues from Test Case During Execution

POST /rest/execution/unlink/issue

Description

API to unlink issues from the Testcase Run being executed

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
issueIdsbodyyesIds of Issues to be unlinked-Array[string]
tcrIdbodyyesId of Testcase Run to unlink issues from-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Issues successfully unlinked from Testcase RunResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Link Issues to Test Case Step During Execution

PUT /rest/execution/link/issueWithTCStepRun

Description

API to link issues to the testcase step run being executed

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
issueIdsbodyyesIds of issues to link-Array[string]
tcsrIdbodyyesId of Testcase Step to link issues with-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Issues successfully linked to executionResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


Unlink Issues from Test Case Step During Execution

POST /rest/execution/unlink/issueWithTCStepRun

Description

API to un-link issues from the test case step during its execution

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
issueIdsbodyyesIds of issues to unlink-string
tcsrIdbodyyesId of Testcase Step to unlink issues from-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Issues successfully unlinked from executionResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


Display Issues linked to Test Case Step During Execution

POST /rest/execution/getExecutionsForIssue

Description

API to display issues linked to test case step during its execution.

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
startbodynoStart index of records-integer
limitbodynoNumber of records per page-integer
pagebodynoPage number to be displayed-integer
linkedAssetbodyyesLinkedAsset Type=DF, ID= {respective DefectId}-LinkedAsset

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Execution list fetch successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


Display Issues linked to Test Case During Execution

POST /rest/issues/getIssuesForTestCase

Description

API to display issues linked to test cases during its execution.

Request

Content-Type: application/json

Parameters
NameLocated inRequiredDescriptionDefaultSchema
startbodynoStart index of records-integer
limitbodynoNumber of records per page-integer
pagebodynoPage number to be displayed-integer
linkedAssetbodyyesLinkedAsset Type=DF, ID= {respective DefectId}-LinkedAsset

Response

Content-Type: application/json

Status CodeReasonResponse Model
200List of issues shown successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Bulk Update Run Status

PUT /rest/execution/runstatus/bulkupdate

Description

API to bulk update run status

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
runStatusIDbodyyesId of the execution status to set(Id can be obtained from getInfo service response)-integer
dropIDbodynoUnique identifier of drop on which execution is to be performed-integer
qmTsRunIdbodyyesId of Testsuite Run to execute-string
entityIDsbodyyesIds of Testcase Runs to execute-string
entityTypebodyyesType of Entity('TCR'/'TCSR') to Execute-string
isAutoExecutedbodyno

0 Manual

1 Automated

0boolean
usernamebodynoUsername of the user who is being authenticated-string
passwordbodynoPassword of the user who is being authenticated-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Execution performed successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Reset Execution Status on Build Update

PUT /rest/execution/resetstatus

Description

API to reset execution status after changing build.

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
qmTsRunIdbodyyesTestsuite Run Id-string
dropIDbodyyesbuildId on which testcases and testcase steps are to be executed-string
isBulkStausSetNotNotRunbodyyessend true to reset status to 'Not Run'-boolean
usernamebodynoUsername of the user who is being authenticated-string
passwordbodynoPasswird of the user who is being authenticated-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Execution status reset successfully.ResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Schedule Test Execution using Scheduler

POST /rest/testsuites/linkplatform/assignagent/createSchedulerRun

Description

API to create scheduler run

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
agentParambodyyesprovide agentParam-AgentParam

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Agent scheduled successfully.ResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


List Test Execution Run

Get List of Test Run under execution.

POST /rest/execution/list/viewColumns

Request

Content-Type: application/json


Parameters

NameLocated inRequiredDescriptionDefaultSchema
tsrunIDbodyyesUnique identifier of Test Execution Run-integer
viewIdbodyyesView ID of the user for that particular project and Test Execution Run module-integer
startbodynoStart index of records-integer
limitbodynoNumber of records per page-integer
pagebodynoPage number to be displayed-integer


Response

Content-Type: application/json

Status CodeReasonResponse Model
200successful operationResponseEntity


Definitions

AgentParam
nametyperequireddescriptionexample
testSuiteIdstringoptional-
pluginAgentIdstringoptional-
platformIdstringoptional-
tsRunIdstringoptional-
dropIDstringoptional-
scheduledatestringoptional-
scheduletimestringoptional-
Data
nametyperequireddescriptionexample
tsIdintegerrequiredId of Test Suites
buildIDintegerrequiredId of Cycle
releaseIdintegerrequiredId of Release
Filter
nametyperequireddescriptionexample
valueobjectrequiredValue to search based on type of filter
comparisonstringrequiredThe comparison operator 'lt' or 'gt' for Date type filter
typestringrequiredType of Filter
fieldstringrequiredField name on which filter is to be applied
ResponseEntity
nametyperequireddescriptionexample
headersobjectoptional-
bodyobjectoptional-
statusCodestringoptional-
LinkedAsset
nametyperequireddescriptionexample
idintegerrequiredUnique identifier of asset whose linked entities are to be fetched3778
typestringrequiredAbbreviated EntitynameDF/RQ/TC/TS
TestSuiteReleaseCycleMap
nametyperequireddescriptionexample
tsIdintegerrequiredUnique identifier of Testsuite whose execution is to be created
releaseIdintegerrequiredId of release to create Test execution in
cycleIdintegerrequiredId of cycle to create Test execution in
TsFolderArchiveRequestDetail


nametyperequireddescriptionexample
tsFolderIDsarray[integer]requiredArray of Test Suite Folder Ids
isBulkOperationbooleanoptionalIsBulkOpeartion Flag
includeRootFolderEntitiesbooleanoptionalRequired to include Root Folder Entities


TsFolderUnarchiveRequestDetail


nametyperequireddescriptionexample
tsFolderIDsarray[integer]requiredArray of Test Suite Folder Ids
isBulkOperationbooleanoptionalIsBulkOpeartion flag
includeRootFolderEntitiesbooleanoptionalRequired to include Root Folder Entities
UdfFilter
nametyperequireddescriptionexample
typestringrequiredType of Filter
valuestringrequiredValue to search based on type of UDF
udfmIDintegerrequiredUnique Identifier based on project-module-udf-user
fieldstringrequiredName of User Defined Field