Test Cases
Get Test Cases
GET
https://[customer].testresults.io/api/projects/:pId/testcases
Gets all active (without archive) Test Cases.
Path Parameters
pId
string
Project ID
Headers
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
pId
string
Project ID
Headers
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
pId
string
Project ID
Headers
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
pId
string
Project ID
tsId
string
Test Set ID
Headers
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
pId
string
Project ID
tsId
string
Test Set ID
Headers
Authentication
string
Authentication token
Request Body
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
pId
string
Project ID
tsId
string
Test Set ID
Headers
Authentication
string
Authentication token
Request Body
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
pId
string
Project ID
tsId
string
Test Set ID
Headers
Authentication
string
Authentication token
Request Body
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
pId
string
Project ID
tcId
string
Test Case ID
Headers
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
tcId
string
Test Case ID
Headers
Authentication
string
Authentication token
Create new Test Case
POST
https://[customer].testresults.io/api/projects/:pId/testcases
Creates new Test Case.
Path Parameters
pId
string
Project ID
Headers
Authentication
string
Authentication token
Request Body
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
pId
string
Project ID
tcId
string
Test Case ID
Headers
Authentication
string
Authentication token
Request Body
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
pId
string
Project ID
tcId
string
Test Case ID
Headers
Authentication
string
Authentication token
Last updated