Test Run
Get test run
Get content of a test run by given document reference
Authorizations:
header Parameters
Project-Id required | string Project Id or the project document reference |
Subproject-Id | string Sub Project Id or the project document reference. It might be required if you want to access the sub project's resource |
Request Body schema: application/jsonrequired
id required | string id of the operation |
jsonrpc required | string must be 2.0 |
method required | string GET_DOCUMENT |
required | object |
Responses
Request samples
- Payload
{- "jsonrpc": "2.0",
- "method": "GET_DOCUMENT",
- "id": "GET_DOCUMENT-2",
- "params": {
- "docRef": "TestRun-dm/3b53beea-a611-462c-9553-703c4df4d669"
}
}
Response samples
- 200
{- "jsonrpc": "2.0",
- "id": "GET_DOCUMENT-2",
- "result": {
- "docRef": "TestRun-dm/3b53beea-a611-462c-9553-703c4df4d669",
- "documentModelName": "TestRun-dm",
- "document": {
- "id": "-1",
- "Root": {
- "General": {
- "ProjectId": "P_9",
- "ProjectVersionNumber": "1.2.0",
- "SubprojectId": "SP_1",
- "Status": "active",
- "Title": "Performance test",
- "Configuration": "qftest",
- "Description": "Test the app performance around the order's actions",
- "TenantId": "T_1",
- "TechnicalId": "19612ea0-bd5d-49da-9004-32f54d63645a",
- "Id": "R_4"
}, - "Metadata": {
- "CreatedBy": "trung",
- "DisplayCreatedOn": "2024-11-13T02:09:50",
- "CreatedOn": 1731463790165,
- "EditedBy": "trung",
- "DisplayEditedOn": "2024-11-13T02:09:50",
- "EditedOn": 1731463790165
}, - "Attachments": [
- {
- "FileName": "bapserver-metrix-snapshot 10.55.51.png",
- "CreatedAt": "2024-11-13T02:09:45",
- "UploadOn": "2024-11-13",
- "OriginalFileName": "bapserver-metrix-snapshot 10.55.51.png",
- "UploadBy": "trung",
- "Referenced": false,
- "CopyNumber": 0,
- "ThumbnailId": "74303fd3-a9e7-498d-bd71-83c05ecdaad6",
- "File": {
- "content": null,
- "attachment_id": "d3e5dbda-603f-478d-9b1f-c0c5f10ff776",
- "internal_filename": "1731463781565-0886b4f1-f863-473c-9e3d-0aba8cf06158.png",
- "original_filename": "bapserver-metrix-snapshot 10.55.51.png",
- "size": 635194,
- "mime_type": "image/png"
}
}
]
}, - "__meta": {
- "creator": "trung",
- "modifier": "trung",
- "createdAt": "2024-11-13T02:09:50",
- "modifiedAt": "2024-11-13T02:09:50",
- "modelReference": "TestRun-dm",
- "docRef": "TestRun-dm/3b53beea-a611-462c-9553-703c4df4d669",
- "modelVersion": null
}
}
}
}
List test run Deprecated
List test run documents for given search criteria. This is deprecated and will not be supported in the next release. Please use List test run documents instead
Authorizations:
header Parameters
Project-Id required | string Project Id or the project document reference |
Subproject-Id | string Sub Project Id or the project document reference. It might be required if you want to access the sub project's resource |
Request Body schema: application/jsonrequired
id required | string id of the operation |
jsonrpc required | string must be 2.0 |
method required | any LIST_TEST_RUNS |
required | object |
Responses
Request samples
- Payload
{- "id": "TestRuns.DataProvider-3",
- "jsonrpc": "2.0",
- "method": "LIST_TEST_RUNS",
- "params": {
- "page": {
- "offset": 0,
- "limit": 50
}, - "sort": [
- {
- "order": "Root.Metadata.CreatedOn DESC"
}
], - "filter": {
- "filters": [
- "Root.General.ProjectId:P_9",
- "Root.General.ProjectVersionNumber:1.2.0",
- "Root.General.SubprojectId:SP_1"
], - "fulltext": "",
- "lang": ""
}
}
}
Response samples
- 200
{- "jsonrpc": "2.0",
- "id": "TestRuns.DataProvider-3",
- "result": {
- "result": {
- "fullSize": 1,
- "page": {
- "offset": 0,
- "limit": 50
}, - "entries": [
- {
- "docRef": "TestRun-dm/3b53beea-a611-462c-9553-703c4df4d669",
- "documentModelName": "TestRun-dm",
- "document": {
- "id": "-1",
- "Root": {
- "General": {
- "ProjectId": "P_9",
- "ProjectVersionNumber": "1.2.0",
- "SubprojectId": "SP_1",
- "Status": "active",
- "Title": "Performance test",
- "Configuration": "qftest",
- "Description": "Test the app performance around the order's actions",
- "TenantId": "T_1",
- "TechnicalId": "19612ea0-bd5d-49da-9004-32f54d63645a",
- "Id": "R_4",
- "TestSuiteCount": 0,
- "Progress": 0
}, - "Metadata": {
- "CreatedBy": "trung",
- "DisplayCreatedOn": "2024-11-13T02:09:50",
- "CreatedOn": 1731463790165,
- "EditedBy": "trung",
- "DisplayEditedOn": "2024-11-13T02:09:50",
- "EditedOn": 1731463790165
}, - "Attachments": [
- {
- "FileName": "bapserver-metrix-snapshot 10.55.51.png",
- "CreatedAt": "2024-11-13T02:09:45",
- "UploadOn": "2024-11-13",
- "OriginalFileName": "bapserver-metrix-snapshot 10.55.51.png",
- "UploadBy": "trung",
- "Referenced": false,
- "CopyNumber": 0,
- "ThumbnailId": "74303fd3-a9e7-498d-bd71-83c05ecdaad6",
- "File": {
- "content": null,
- "attachment_id": "d3e5dbda-603f-478d-9b1f-c0c5f10ff776",
- "internal_filename": "1731463781565-0886b4f1-f863-473c-9e3d-0aba8cf06158.png",
- "original_filename": "bapserver-metrix-snapshot 10.55.51.png",
- "size": 635194,
- "mime_type": "image/png"
}
}
], - "DisplayFields": {
- "Result": [
- {
- "result": "1",
- "count": 0,
- "label": "Untested"
}, - {
- "result": "2",
- "count": 0,
- "label": "Passed"
}, - {
- "result": "3",
- "count": 0,
- "label": "Blocked"
}, - {
- "result": "4",
- "count": 0,
- "label": "Customer"
}, - {
- "result": "6",
- "count": 0,
- "label": "Failed (known)"
}, - {
- "result": "5",
- "count": 0,
- "label": "Failed (new)"
}, - {
- "result": "7",
- "count": 0,
- "label": "In progress"
}, - {
- "result": "8",
- "count": 0,
- "label": "On hold (external)"
}, - {
- "result": "9",
- "count": 0,
- "label": "On hold (internal)"
}, - {
- "result": "10",
- "count": 0,
- "label": "Retest"
}, - {
- "result": "11",
- "count": 0,
- "label": "Skipped"
}
], - "TestCasesWithTester": "-",
- "TestersOfTestCases": [ ]
}
}, - "__meta": {
- "creator": "trung",
- "modifier": "trung",
- "createdAt": "2024-11-13T02:09:50",
- "modifiedAt": "2024-11-13T02:09:50",
- "modelReference": "TestRun-dm",
- "docRef": "TestRun-dm/3b53beea-a611-462c-9553-703c4df4d669",
- "modelVersion": null
}
}
}
]
}, - "filterItemMap": {
- "Root.DisplayFields.TestersOfTestCases": [ ]
}
}
}
List test run documents
List test run documents for given search criteria.
Authorizations:
header Parameters
Project-Id required | string Project Id or the project document reference |
Subproject-Id | string Sub Project Id or the project document reference. It might be required if you want to access the sub project's resource |
Request Body schema: application/jsonrequired
id required | string id of the operation |
jsonrpc required | string must be 2.0 |
method required | string LIST_DOCUMENT |
required | object |
Responses
Request samples
- Payload
{- "id": "TestRun.DataProvider-98",
- "jsonrpc": "2.0",
- "method": "LIST_DOCUMENTS",
- "params": {
- "documentModelName": "TestRun-dm",
- "filter": {
- "filters": [
- "Root.General.ProjectId:P_28",
- "Root.General.SubprojectId:_",
- "Root.General.ProjectVersionNumber:1.0.0"
], - "fulltext": "",
- "lang": ""
}, - "page": {
- "offset": 0,
- "limit": 2800
}, - "sort": [
- {
- "order": "Root.General.Title ASC"
}
]
}
}
Response samples
- 200
{- "jsonrpc": "2.0",
- "id": "TestRun.DataProvider-98",
- "result": {
- "fullSize": 2,
- "page": {
- "offset": 0,
- "limit": 2800
}, - "entries": [
- {
- "docRef": "TestRun-dm/0b248ab1-a236-4b46-97a9-2da5115aa335",
- "documentModelName": "TestRun-dm",
- "document": {
- "id": "-1",
- "Root": {
- "General": {
- "ProjectId": "P_28",
- "ProjectVersionNumber": "1.0.0",
- "SubprojectId": "_",
- "Status": "active",
- "Title": "Random testRunName no.10.09.2024T1725954320028",
- "Description": "Random testRunDescription no.10.09.2024T1725954320028",
- "TenantId": "T_12",
- "TechnicalId": "c8b5d0e4-2e3d-4a05-af93-891c96a92374",
- "Id": "R_3"
}, - "Metadata": {
- "CreatedBy": "tmtautotest",
- "DisplayCreatedOn": "2024-09-10T07:45:34",
- "CreatedOn": 1725954334071,
- "EditedBy": "tmtautotest",
- "DisplayEditedOn": "2024-09-10T07:45:34",
- "EditedOn": 1725954334071
}, - "Attachments": [
- {
- "FileName": "04_28_16.jpg",
- "CreatedAt": "2024-09-10T07:45:24",
- "UploadOn": "2024-09-10",
- "OriginalFileName": "04_28_16.jpg",
- "UploadBy": "tmtautotest",
- "Referenced": true,
- "CopyNumber": 0,
- "ThumbnailId": "07c0b5e0-8a5e-4176-b07a-c2a6665aa740",
- "File": {
- "content": null,
- "attachment_id": "6f6ba4a6-942c-4030-928a-6c7dde257be7",
- "internal_filename": "1725954323929-bdbac78c-c26e-4938-b85b-2ba73dfd1bb1.jpg",
- "original_filename": "04_28_16.jpg",
- "size": 133059,
- "mime_type": "image/jpeg"
}
}
]
}, - "__meta": {
- "creator": "tmtautotest",
- "modifier": "tmtautotest",
- "createdAt": "2024-09-10T07:45:34",
- "modifiedAt": "2024-09-10T07:45:34",
- "modelReference": "TestRun-dm",
- "docRef": "TestRun-dm/0b248ab1-a236-4b46-97a9-2da5115aa335",
- "modelVersion": null
}
}
}, - {
- "docRef": "TestRun-dm/bc2fb16e-a393-49fb-9b49-91009ad24eec",
- "documentModelName": "TestRun-dm",
- "document": {
- "Root": {
- "General": {
- "ProjectId": "P_28",
- "ProjectVersionNumber": "1.0.0",
- "SubprojectId": "_",
- "Status": "inactive",
- "Title": "Random updatedTestRunName no.10.09.2024T1725953838072",
- "Description": "Random updatedTestRunDescription no.10.09.2024T1725953838072[04_28_16_02.xlsx]",
- "TenantId": "T_12",
- "TechnicalId": "d8b77444-797c-4bce-b4ef-e530fe4acb8e",
- "Id": "R_1"
}, - "Metadata": {
- "CreatedBy": "tmtautotest",
- "DisplayCreatedOn": "2024-09-10T07:38:19",
- "CreatedOn": 1725953899934,
- "EditedBy": "tmtautotest",
- "DisplayEditedOn": "2024-09-10T07:40:01",
- "EditedOn": 1725954001329,
- "ClosedBy": "tmtautotest",
- "ClosedOn": 1725954001326,
- "DisplayClosedOn": "2024-09-10T07:40:01"
}, - "Attachments": [
- {
- "FileName": "04_28_16.jpg",
- "CreatedAt": "2024-09-10T07:39:55",
- "UploadOn": "2024-09-10",
- "OriginalFileName": "04_28_16.jpg",
- "UploadBy": "tmtautotest",
- "Referenced": false,
- "CopyNumber": 0,
- "ThumbnailId": "a3f479ea-e3ed-415b-a5b6-916741ccab3e",
- "File": {
- "content": null,
- "attachment_id": "01482b8f-645b-4e8e-ba22-b1e61e190831",
- "internal_filename": "1725953994549-d6b55ae4-eac2-44eb-b61f-2acee938fae3.jpg",
- "original_filename": "04_28_16.jpg",
- "size": 133059,
- "mime_type": "image/jpeg"
}
}
]
}, - "__meta": {
- "creator": "tmtautotest",
- "modifier": "SYSTEM",
- "createdAt": "2024-09-10T07:38:19",
- "modifiedAt": "2024-09-10T07:40:01",
- "modelReference": "TestRun-dm",
- "docRef": "TestRun-dm/bc2fb16e-a393-49fb-9b49-91009ad24eec",
- "modelVersion": null
}
}
}
]
}
}
Create a test run
Create a new test run
Authorizations:
header Parameters
Project-Id required | string Project Id or the project document reference |
Subproject-Id | string Sub Project Id or the project document reference. It might be required if you want to access the sub project's resource |
Request Body schema: application/jsonrequired
id required | string id of the operation |
jsonrpc required | string must be 2.0 |
method required | string ADD_DOCUMENT |
required | object |
Responses
Request samples
- Payload
{- "id": "ADD_TEST_RUN",
- "method": "ADD_DOCUMENT",
- "params": {
- "document": {
- "Root": {
- "General": {
- "ProjectId": "P_9",
- "ProjectVersionNumber": "1.2.0",
- "SubprojectId": "SP_1",
- "Status": "active",
- "Title": "Performance test",
- "Configuration": "qftest",
- "Description": "Test the app performance around the order's actions"
}, - "Attachments": [
- {
- "FileName": "bapserver-metrix-snapshot 10.55.51.png",
- "File": {
- "content": null,
- "attachment_id": "d3e5dbda-603f-478d-9b1f-c0c5f10ff776",
- "internal_filename": "1731463781565-0886b4f1-f863-473c-9e3d-0aba8cf06158.png",
- "original_filename": "bapserver-metrix-snapshot 10.55.51.png",
- "size": 635194,
- "mime_type": "image/png"
}, - "CreatedAt": "2024-11-13T02:09:45",
- "UploadOn": "2024-11-13",
- "OriginalFileName": "bapserver-metrix-snapshot 10.55.51.png",
- "UploadBy": "trung",
- "Referenced": false,
- "CopyNumber": 0,
- "ThumbnailId": "74303fd3-a9e7-498d-bd71-83c05ecdaad6"
}
]
}
}, - "documentModelName": "TestRun-dm",
- "locale": "en"
}
}
Response samples
- 200
{- "jsonrpc": "2.0",
- "id": "ADD_TEST_RUN",
- "result": {
- "docRef": "TestRun-dm/3b53beea-a611-462c-9553-703c4df4d669"
}
}
Update test run
Update test run content
Authorizations:
header Parameters
Project-Id required | string Project Id or the project document reference |
Subproject-Id | string Sub Project Id or the project document reference. It might be required if you want to access the sub project's resource |
Request Body schema: application/jsonrequired
id required | string id of the operation |
jsonrpc required | string must be 2.0 |
method required | string MODIFY_DOCUMENT |
required | object |
Responses
Request samples
- Payload
{- "id": "MODIFY_TEST_RUN",
- "method": "MODIFY_DOCUMENT",
- "params": {
- "document": {
- "Root": {
- "General": {
- "ProjectId": "P_9",
- "ProjectVersionNumber": "1.2.0",
- "SubprojectId": "SP_1",
- "Status": "active",
- "Title": "Performance test",
- "Configuration": "qftest, chrome",
- "Description": "Test the app performance around the order's actions",
- "TenantId": "T_1",
- "TechnicalId": "19612ea0-bd5d-49da-9004-32f54d63645a",
- "Id": "R_4"
}, - "Metadata": {
- "CreatedBy": "trung",
- "DisplayCreatedOn": "2024-11-13T02:09:50",
- "CreatedOn": 1731463790165,
- "EditedBy": "trung",
- "DisplayEditedOn": "2024-11-13T02:09:50",
- "EditedOn": 1731463790165
}, - "Attachments": [
- {
- "FileName": "bapserver-metrix-snapshot 10.55.51.png",
- "CreatedAt": "2024-11-13T02:09:45",
- "UploadOn": "2024-11-13",
- "OriginalFileName": "bapserver-metrix-snapshot 10.55.51.png",
- "UploadBy": "trung",
- "Referenced": false,
- "CopyNumber": 0,
- "ThumbnailId": "74303fd3-a9e7-498d-bd71-83c05ecdaad6",
- "File": {
- "content": null,
- "attachment_id": "d3e5dbda-603f-478d-9b1f-c0c5f10ff776",
- "internal_filename": "1731463781565-0886b4f1-f863-473c-9e3d-0aba8cf06158.png",
- "original_filename": "bapserver-metrix-snapshot 10.55.51.png",
- "size": 635194,
- "mime_type": "image/png"
}
}
]
}, - "__meta": {
- "creator": "trung",
- "modifier": "trung",
- "createdAt": "2024-11-13T02:09:50",
- "modifiedAt": "2024-11-13T02:09:50",
- "modelReference": "TestRun-dm",
- "docRef": "TestRun-dm/3b53beea-a611-462c-9553-703c4df4d669",
- "modelVersion": null
}
}, - "locale": "en",
- "docRef": "TestRun-dm/3b53beea-a611-462c-9553-703c4df4d669"
}
}
Response samples
- 200
{- "jsonrpc": "2.0",
- "id": "MODIFY_TEST_RUN",
- "result": null
}
Delete a test run
It is only possible to delete an empty run. For non empty test run, you must remove its test suites first, which can be done by calling DELETE_SUITE_FROM_RUN operation
Authorizations:
header Parameters
Project-Id required | string Project Id or the project document reference |
Subproject-Id | string Sub Project Id or the project document reference. It might be required if you want to access the sub project's resource |
Request Body schema: application/jsonrequired
id required | string id of the operation |
jsonrpc required | string must be 2.0 |
method required | string DELETE_TEST_RUN |
required | object |
Responses
Request samples
- Payload
{- "id": "DELETE_TEST_RUN_TestRun-dm/11825df5-4460-479d-a282-e996d804b571",
- "jsonrpc": "2.0",
- "method": "DELETE_TEST_RUN",
- "params": {
- "testRunDocRef": "TestRun-dm/11825df5-4460-479d-a282-e996d804b571"
}
}
Response samples
- 200
{- "jsonrpc": "2.0",
- "id": "DELETE_TEST_RUN_TestRun-dm/11825df5-4460-479d-a282-e996d804b571",
- "result": true
}
Check a run is empty
Check a run is empty or not. You should call this endpoint before deleting a test run.
Authorizations:
header Parameters
Project-Id required | string Project Id or the project document reference |
Subproject-Id | string Sub Project Id or the project document reference. It might be required if you want to access the sub project's resource |
Request Body schema: application/jsonrequired
id required | string id of the operation |
jsonrpc required | string must be 2.0 |
method required | string CHECK_TEST_RUN_EMPTY |
required | object |
Responses
Request samples
- Payload
{- "id": "CHECK_TEST_RUN_EMPTY_6f1f3601-88bb-47e0-b4b5-42f4ff3596be",
- "jsonrpc": "2.0",
- "method": "CHECK_TEST_RUN_EMPTY",
- "params": {
- "testRunDocRef": "TestRun-dm/3b53beea-a611-462c-9553-703c4df4d669"
}
}
Response samples
- 200
{- "jsonrpc": "2.0",
- "id": "DELETE_TEST_RUN_TestRun-dm/11825df5-4460-479d-a282-e996d804b571",
- "result": true
}
Get available test suites to add to run
List all suites that are available to add into Run, which excludes the suites already in Run. This is not applicable for closed run
Authorizations:
header Parameters
Project-Id required | string Project Id or the project document reference |
Subproject-Id | string Sub Project Id or the project document reference. It might be required if you want to access the sub project's resource |
Request Body schema: application/jsonrequired
id required | string id of the operation |
jsonrpc required | string must be 2.0 |
method | string GET_AVAILABLE_TEST_SUITES |
object |
Responses
Request samples
- Payload
{- "id": "TestSuites.DataProvider-0",
- "jsonrpc": "2.0",
- "method": "GET_AVAILABLE_TEST_SUITES",
- "params": {
- "testRunDocRef": "TestRun-dm/3b53beea-a611-462c-9553-703c4df4d669",
- "page": {
- "offset": 0,
- "limit": 50
}, - "sort": [
- {
- "order": "Root.General.Order ASC"
}
], - "filter": {
- "filters": [ ],
- "fulltext": "",
- "lang": ""
}
}
}
Response samples
- 200
{- "jsonrpc": "2.0",
- "id": "TestSuites.DataProvider-0",
- "result": {
- "fullSize": 1,
- "page": {
- "offset": 0,
- "limit": 50
}, - "entries": [
- {
- "docRef": "TestSuite-dm/20740",
- "documentModelName": "TestSuite-dm",
- "document": {
- "Root": {
- "General": {
- "ProjectId": "P_9",
- "ProjectVersionNumber": "1.2.0",
- "SubprojectId": "SP_1",
- "Title": "00 Main landing page",
- "Description": "* Access the shop's main landing page,\n* Check URL & SSL status,\n* Check menu,\n* Check feature links,\n* Check sections and banners,\n* Check footer.\n\n",
- "Id": "S_1",
- "TechnicalId": "06b4d076-c11e-447f-8f83-98c3061c25f9",
- "TenantId": "T_1",
- "TimeBookingAccount": "mgm-internal",
- "Order": "0.1",
- "RecommendedPriority": {
- "Value": "MEDIUM"
}
}, - "Metadata": {
- "CreatedBy": "peter.parker",
- "DisplayCreatedOn": "2022-12-05T13:06:04",
- "CreatedOn": 1670245564074,
- "EditedBy": "peter.parker",
- "DisplayEditedOn": "2022-12-06T13:25:01",
- "EditedOn": 1670333101154,
- "IsImported": false,
- "AssignedToVersion": {
- "AssignedToNumber": "1.0.0",
- "AssignedToTitle": "Frontend"
}
}, - "Attachments": [
- {
- "FileName": "Screenshot 2022-12-06 141258.png",
- "UploadOn": "2022-12-06",
- "OriginalFileName": "Screenshot 2022-12-06 141258.png",
- "UploadBy": "peter.parker",
- "Referenced": true,
- "CopyNumber": 0,
- "File": {
- "internal_filename": "d374b1f3-ce88-4328-9699-3d508c1c02ab.png",
- "original_filename": "Screenshot 2022-12-06 141258.png",
- "mime_type": "image/png",
- "attachment_id": "d374b1f3-ce88-4328-9699-3d508c1c02ab",
- "content": null,
- "size": 614589
}
}
], - "DisplayFields": {
- "TotalTestCases": 17
}
}, - "__meta": {
- "creator": "SYSTEM",
- "modifier": "SYSTEM",
- "docRef": "TestSuite-dm/20740",
- "modelReference": "TestSuite-dm",
- "createdAt": "2023-08-09T06:45:04",
- "modifiedAt": "2023-11-20T03:58:46",
- "modelVersion": null
}
}
}
]
}
}
Add test suites to open run
Add available test suites to an open run
Authorizations:
header Parameters
Project-Id required | string Project Id or the project document reference |
Subproject-Id | string Sub Project Id or the project document reference. It might be required if you want to access the sub project's resource |
Request Body schema: application/jsonrequired
id required | string id of the operation |
jsonrpc required | string must be 2.0 |
method required | string ADD_TEST_SUITES_TO_RUN |
required | object |
Responses
Request samples
- Payload
{- "id": "ADD_TEST_SUITES_TO_RUN_1",
- "method": "ADD_TEST_SUITES_TO_RUN",
- "params": {
- "testRunDocRef": "TestRun-dm/3b53beea-a611-462c-9553-703c4df4d669",
- "testSuiteDocRefs": [
- "TestSuite-dm/20740",
- "TestSuite-dm/20742"
]
}
}
Response samples
- 200
{- "jsonrpc": "2.0",
- "id": "ADD_TEST_SUITES_TO_RUN_1",
- "result": [
- {
- "linkDescriptor": {
- "relationshipModel": "TestRunTestSuite-rm",
- "entities": [
- {
- "role": "TestRun",
- "modelName": "TestRun-dm",
- "docRef": "TestRun-dm/3b53beea-a611-462c-9553-703c4df4d669"
}, - {
- "role": "TestSuite",
- "modelName": "TestSuite-dm",
- "docRef": "TestSuite-dm/20740"
}
], - "predecessorLinkRef": null,
- "position": "TOP"
}, - "id": "947573"
}, - {
- "linkDescriptor": {
- "relationshipModel": "TestRunTestSuite-rm",
- "entities": [
- {
- "role": "TestRun",
- "modelName": "TestRun-dm",
- "docRef": "TestRun-dm/3b53beea-a611-462c-9553-703c4df4d669"
}, - {
- "role": "TestSuite",
- "modelName": "TestSuite-dm",
- "docRef": "TestSuite-dm/20742"
}
], - "predecessorLinkRef": null,
- "position": "TOP"
}, - "id": "947574"
}
]
}
Delete test suites from open run
Delete the test suites from an open run. This is not applicable to closed run
Authorizations:
header Parameters
Project-Id required | string Project Id or the project document reference |
Subproject-Id | string Sub Project Id or the project document reference. It might be required if you want to access the sub project's resource |
Request Body schema: application/jsonrequired
id required | string id of the operation |
jsonrpc required | string must be 2.0 |
method required | string DELETE_TEST_SUITES_FROM_RUN |
required | object |
Responses
Request samples
- Payload
{- "id": "DELETE_TEST_SUITES_FROM_RUN_1",
- "method": "DELETE_TEST_SUITES_FROM_RUN",
- "params": {
- "testRunDocRef": "TestRun-dm/3b53beea-a611-462c-9553-703c4df4d669",
- "testSuiteDocRefs": [
- "TestSuite-dm/20740",
- "TestSuite-dm/20742"
]
}
}
Response samples
- 200
{- "jsonrpc": "2.0",
- "id": "DELETE_TEST_SUITES_FROM_RUN_1",
- "result": null
}