Back to QMetry All Products Help Page
API for Test Cases
- 1 Get List of Testcases in Folder
- 2 Get Test Case List along with Custom Fields
- 3 Get Test case Details
- 4 List of Test case(s) for Bulk Operations
- 5 Get Test case linked to a Requirement
- 6 Get List of Test suites for a Testcase
- 7 Get Test case linked to a TestSuite
- 8 Get information of parameters associated with the Testcase linked to a Testsuite
- 9 List Version details of Test case
- 10 View Test Case Details
- 11 List Test Case Steps
- 12 Get All Versions of Testcase
- 13 Create Testcase
- 14 Update Test case(s)
- 15 Archive Testcase
- 16 Delete Testcase
- 17 Delete a Testcase Version
- 18 Get sub folder information of a particular folder
- 19 Get Details of Test Case Folder
- 20 Create Test Case Folder
- 21 Archive Testcase Folder
- 22 Unarchive Testcase Folder
- 23 Update Test Case Folder
- 24 Delete Test Case folder
- 25 Get Release & Cycle of Test Case
- 26 Add Release & Cycle to Test Case
- 27 Remove Release & Cycle from Test Case
- 28 Add Testcase Comments
- 29 Update Testcase Comments
- 30 Get Testcase Comments
- 31 Delete Testcase Comments
- 32 Get List of Requirements in Test Case
- 33 Link Requirement(s) to Testcase
- 34 Unlink Requirement(s) fromTestcase
- 35 Link TestSuites to Testcase
- 36 List Test Case Executions
- 37 List Test Cases Linked with Shared Test Case
Get List of Testcases in Folder
POST /rest/testcases/list
Description
Get test case list based on particular ID of test case or folder inside all data or particular version related data.
Request
Content-Type: application/json
Parameters
Name | Located in | Required | Description | Default | Schema |
---|---|---|---|---|---|
id | body | yes | Id of Testcase | - | integer |
version | body | yes | Version number of Testcase | - | integer |
start | body | no | Start index of records | - | integer |
limit | body | no | Number of records per page | - | integer |
page | body | no | Page number to be displayed | - | integer |
tcFolderID | body | no | FolderId of Testcase | - | integer |
scope | body | yes | Scope of Testcase, possible values project,release,cycle | - | integer |
Response
Content-Type: application/json
Status Code | Reason | Response Model |
---|---|---|
200 | Testcase list fetch successfully | |
400 | Invalid json object or mandatory fields missing | - |
401 | Unauthorised or session expired | - |
500 | Returned when server connection times out | - |
Get Test Case List along with Custom Fields
POST /rest/testcases/list/viewColumns
Description
Fetch specific data of test cases with custom fields.
Request
Content-Type: application/json
Parameters
Name | Located in | Required | Description | Default | Schema |
---|---|---|---|---|---|
viewId | body | yes | View ID of the user for that particular project and Testcase module. View ID can be fetched from latestViews section of Getinfo API. | - | integer |
folderPath | body | yes | Path of folder whose Testcases are to be fetched | - | string |
start | body | no | Start index of records | - | integer |
limit | body | no | Number of records per page | - | integer |
page | body | no | Page number to be displayed | - | integer |
havingSharedTestcases | body | no | True value will fetch test cases having shared testcases linked with it | - | boolean |
Response
Content-Type: application/json