Test Cases
Get Test Cases
GET
https://[customer].testresults.io/api/projects/:pId/testcases
Gets all active (without archive) Test Cases.
Path Parameters
Name | Type | Description |
---|---|---|
pId | string | Project ID |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Get archive Test Cases
GET
https://[customer].testresults.io/api/projects/:pId/testcases/archive
Gets all archive Test Cases.
Path Parameters
Name | Type | Description |
---|---|---|
pId | string | Project ID |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Get recent Test Cases
GET
https://[customer].testresults.io/api/projects/:pId/testcases/recent
Gets all recently opened Test Cases.
Path Parameters
Name | Type | Description |
---|---|---|
pId | string | Project ID |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Get Test Cases by Test Set
GET
https://[customer].testresults.io/api/projects/:pId/testsets/:tsId/testcases
Gets Test Cases included in Test Set.
Path Parameters
Name | Type | Description |
---|---|---|
pId | string | Project ID |
tsId | string | Test Set ID |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Include Test Cases in Test Set
POST
https://[customer].testresults.io/api/projects/:pId/testsets/:tsId/testcases
Include Test Cases in Test Set.
Path Parameters
Name | Type | Description |
---|---|---|
pId | string | Project ID |
tsId | string | Test Set ID |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Request Body
Name | Type | Description |
---|---|---|
Id | string | Test Case ID |
Include Test Case in Test Sets
PUT
https://[customer].testresults.io/api/projects/:pId/testsets/:tsId/testcases
Include Test Case in Test Sets. (!) Request payload should be an array of objects (e.g [ { Id; your_test_case_ID } ]).
Path Parameters
Name | Type | Description |
---|---|---|
pId | string | Project ID |
tsId | string | Test Set ID |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Request Body
Name | Type | Description |
---|---|---|
Id | string | Test Case ID |
Exclude Test Case
DELETE
https://[customer].testresults.io/api/projects/:pId/testsets/:tsId/testcases
Exclude Test Case from Test Set. (!) Request payload should be an array of objects (e.g [ { Id: your_test_case_ID } ]).
Path Parameters
Name | Type | Description |
---|---|---|
pId | string | Project ID |
tsId | string | Test Set ID |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Request Body
Name | Type | Description |
---|---|---|
Id | string | Test Case ID |
Get Test Case details
GET
https://[customer].testresults.io/api/projects/:pId/testcases/:tcId
Gets Test Case details.
Path Parameters
Name | Type | Description |
---|---|---|
pId | string | Project ID |
tcId | string | Test Case ID |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Get Test Case details (permanent URL)
GET
https://[customer].testresults.io/api/projects/0/testcases/:tcId
Gets Test Case details for permanent URL.
Path Parameters
Name | Type | Description |
---|---|---|
tcId | string | Test Case ID |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Create new Test Case
POST
https://[customer].testresults.io/api/projects/:pId/testcases
Creates new Test Case.
Path Parameters
Name | Type | Description |
---|---|---|
pId | string | Project ID |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Request Body
Name | Type | Description |
---|---|---|
Name | string | Name of Test Case |
Description | string | Description of Test Case |
Identifier | string | Identifier of Test Case |
Update Test Case
PUT
https://[customer].testresults.io/api/projects/:pId/testcases/:tcId
Updates an existing Test Case.
Path Parameters
Name | Type | Description |
---|---|---|
pId | string | Project ID |
tcId | string | Test Case ID |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Request Body
Name | Type | Description |
---|---|---|
Name | string | Name of Test Case |
Description | string | Description of Test Case |
Archived | boolean | Archive flag |
Delete Test Case
DELETE
https://[customer].testresults.io/api/projects/:pId/testcases/:tcId
Removes an existing Test Case.
Path Parameters
Name | Type | Description |
---|---|---|
pId | string | Project ID |
tcId | string | Test Case ID |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Last updated