Test Sets

Get Test Sets

GET https://[customer].testresults.io/api/projects/:pId/testsets

Gets all active (without archive) Test Sets.

Path Parameters

NameTypeDescription

pId

string

Project ID

Headers

NameTypeDescription

Authentication

string

Authentication token

[
    {
    "Name": "All Test Types",
    "Description": "",
    "LastExecuted": "2019-04-26T15:05:47.1133333Z",
    "LastSubjectId": "fe36cc18-87dc-4b02-969a-1559641c8a9c",
    "LastSwIdentifier": "1.0",
    "LastSwName": "TestResults.io",
    "LastExecutionStatistic": {
      "ExecutionId": "27f8f8ce-b214-4479-9e28-e610ca623bd9",
      "EnvironmentId": "98bab3a6-9079-49ca-ba28-c8a50bfec5ee",
      "EnvironmentName": "Windows 10 Pro - IE",
      "SoftwareVersionId": "fe36cc18-87dc-4b02-969a-1559641c8a9c",
      "SoftwareName": "TestResults.io",
      "SoftwareVersion": "1.0",
      "Tags": "",
      "ExecutionRequestTime": "2019-04-26T13:05:43.7133333Z",
      "TestCasesTotal": 3,
      "TestCasesPending": 0,
      "TestCasesCanceled": 0,
      "TestCasesAborted": 0,
      "TestCasesWithError": 1,
      "TestCasesPassed": 2,
      "TestCasesFailed": 0
    },
    "Id": "f2da399c-00e7-4001-9a34-bf4873fbf8cd"
  },
  {
    "Name": "Benedikt",
    "Description": null,
    "LastExecuted": "2018-10-29T13:20:51.4100000Z",
    "LastSubjectId": "aeecacd2-6ed0-4260-b312-9d076e8818d0",
    "LastSwIdentifier": "testclub",
    "LastSwName": "TestClub.ch - Benedikt",
    "LastExecutionStatistic": {
      "ExecutionId": "15703e05-3381-4e15-bb82-0afb08cb47b5",
      "EnvironmentId": "98bab3a6-9079-49ca-ba28-c8a50bfec5ee",
      "EnvironmentName": "Windows 10 Pro - IE",
      "SoftwareVersionId": "aeecacd2-6ed0-4260-b312-9d076e8818d0",
      "SoftwareName": "TestClub.ch - Benedikt",
      "SoftwareVersion": "testclub",
      "Tags": "",
      "ExecutionRequestTime": "2018-10-29T12:20:50.5733333Z",
      "TestCasesTotal": 1,
      "TestCasesPending": 0,
      "TestCasesCanceled": 0,
      "TestCasesAborted": 0,
      "TestCasesWithError": 0,
      "TestCasesPassed": 1,
      "TestCasesFailed": 0
    },
    "Id": "f32fb3cc-0c1b-4b31-8726-f0f6d3bea09f"
  }
]

Get archive Test Sets

GET https://[customer].testresults.io/api/projects/:pId/testsets/archive

Gets all archive Test Sets.

Path Parameters

NameTypeDescription

pId

string

Project ID

Headers

NameTypeDescription

Authentication

string

Authentication token

[
    {
    "Name": "All Test Types",
    "Description": "",
    "LastExecuted": "2019-04-26T15:05:47.1133333Z",
    "LastSubjectId": "fe36cc18-87dc-4b02-969a-1559641c8a9c",
    "LastSwIdentifier": "1.0",
    "LastSwName": "TestResults.io",
    "LastExecutionStatistic": {
      "ExecutionId": "27f8f8ce-b214-4479-9e28-e610ca623bd9",
      "EnvironmentId": "98bab3a6-9079-49ca-ba28-c8a50bfec5ee",
      "EnvironmentName": "Windows 10 Pro - IE",
      "SoftwareVersionId": "fe36cc18-87dc-4b02-969a-1559641c8a9c",
      "SoftwareName": "TestResults.io",
      "SoftwareVersion": "1.0",
      "Tags": "",
      "ExecutionRequestTime": "2019-04-26T13:05:43.7133333Z",
      "TestCasesTotal": 3,
      "TestCasesPending": 0,
      "TestCasesCanceled": 0,
      "TestCasesAborted": 0,
      "TestCasesWithError": 1,
      "TestCasesPassed": 2,
      "TestCasesFailed": 0
    },
    "Id": "f2da399c-00e7-4001-9a34-bf4873fbf8cd"
  },
  {
    "Name": "Benedikt",
    "Description": null,
    "LastExecuted": "2018-10-29T13:20:51.4100000Z",
    "LastSubjectId": "aeecacd2-6ed0-4260-b312-9d076e8818d0",
    "LastSwIdentifier": "testclub",
    "LastSwName": "TestClub.ch - Benedikt",
    "LastExecutionStatistic": {
      "ExecutionId": "15703e05-3381-4e15-bb82-0afb08cb47b5",
      "EnvironmentId": "98bab3a6-9079-49ca-ba28-c8a50bfec5ee",
      "EnvironmentName": "Windows 10 Pro - IE",
      "SoftwareVersionId": "aeecacd2-6ed0-4260-b312-9d076e8818d0",
      "SoftwareName": "TestClub.ch - Benedikt",
      "SoftwareVersion": "testclub",
      "Tags": "",
      "ExecutionRequestTime": "2018-10-29T12:20:50.5733333Z",
      "TestCasesTotal": 1,
      "TestCasesPending": 0,
      "TestCasesCanceled": 0,
      "TestCasesAborted": 0,
      "TestCasesWithError": 0,
      "TestCasesPassed": 1,
      "TestCasesFailed": 0
    },
    "Id": "f32fb3cc-0c1b-4b31-8726-f0f6d3bea09f"
  }
]

Get recent Test Sets

GET https://[customer].testresults.io/api/projects/:pId/testsets/recent

Gets all recently opened Test Sets

Path Parameters

NameTypeDescription

pId

string

Project ID

Headers

NameTypeDescription

Authentication

string

Authentication token

[
    {
    "Name": "All Test Types",
    "Description": "",
    "LastExecuted": "2019-04-26T15:05:47.1133333Z",
    "LastSubjectId": "fe36cc18-87dc-4b02-969a-1559641c8a9c",
    "LastSwIdentifier": "1.0",
    "LastSwName": "TestResults.io",
    "LastExecutionStatistic": {
      "ExecutionId": "27f8f8ce-b214-4479-9e28-e610ca623bd9",
      "EnvironmentId": "98bab3a6-9079-49ca-ba28-c8a50bfec5ee",
      "EnvironmentName": "Windows 10 Pro - IE",
      "SoftwareVersionId": "fe36cc18-87dc-4b02-969a-1559641c8a9c",
      "SoftwareName": "TestResults.io",
      "SoftwareVersion": "1.0",
      "Tags": "",
      "ExecutionRequestTime": "2019-04-26T13:05:43.7133333Z",
      "TestCasesTotal": 3,
      "TestCasesPending": 0,
      "TestCasesCanceled": 0,
      "TestCasesAborted": 0,
      "TestCasesWithError": 1,
      "TestCasesPassed": 2,
      "TestCasesFailed": 0
    },
    "Id": "f2da399c-00e7-4001-9a34-bf4873fbf8cd"
  },
  {
    "Name": "Benedikt",
    "Description": null,
    "LastExecuted": "2018-10-29T13:20:51.4100000Z",
    "LastSubjectId": "aeecacd2-6ed0-4260-b312-9d076e8818d0",
    "LastSwIdentifier": "testclub",
    "LastSwName": "TestClub.ch - Benedikt",
    "LastExecutionStatistic": {
      "ExecutionId": "15703e05-3381-4e15-bb82-0afb08cb47b5",
      "EnvironmentId": "98bab3a6-9079-49ca-ba28-c8a50bfec5ee",
      "EnvironmentName": "Windows 10 Pro - IE",
      "SoftwareVersionId": "aeecacd2-6ed0-4260-b312-9d076e8818d0",
      "SoftwareName": "TestClub.ch - Benedikt",
      "SoftwareVersion": "testclub",
      "Tags": "",
      "ExecutionRequestTime": "2018-10-29T12:20:50.5733333Z",
      "TestCasesTotal": 1,
      "TestCasesPending": 0,
      "TestCasesCanceled": 0,
      "TestCasesAborted": 0,
      "TestCasesWithError": 0,
      "TestCasesPassed": 1,
      "TestCasesFailed": 0
    },
    "Id": "f32fb3cc-0c1b-4b31-8726-f0f6d3bea09f"
  }
]

Get Test Sets by Test Case

GET https://[customer].testresults.io/api/projects/:pId/testcases/:tcId/testsets

Gets Test Sets where current Test Case is included.

Path Parameters

NameTypeDescription

pId

string

Project ID

tcId

string

Test Case ID

Headers

NameTypeDescription

Authentication

string

Authentication token

[
  {
    "Name": "Daily Regression",
    "Description": "",
    "LastExecuted": "2019-05-03T02:01:11.9033333Z",
    "LastSubjectId": "fe36cc18-87dc-4b02-969a-1559641c8a9c",
    "LastSwIdentifier": "1.0",
    "LastSwName": "TestResults.io",
    "LastExecutionStatistic": null,
    "Id": "6d7f68af-5f4d-40bd-a0ea-52758592e91f"
  },
  {
    "Name": "Single Feature Tests",
    "Description": "",
    "LastExecuted": "2019-04-29T08:13:27.4933333Z",
    "LastSubjectId": "fe36cc18-87dc-4b02-969a-1559641c8a9c",
    "LastSwIdentifier": "1.0",
    "LastSwName": "TestResults.io",
    "LastExecutionStatistic": null,
    "Id": "441d5a2b-e7c4-42ea-8a76-ed1bc32aab5f"
  }
]

Get Test Set by archive Test Case

GET https://[customer].testresults.io/api/projects/:pId/testcases/:tcId/testsets/archive

Gets Test Sets where current archived Test Case is included.

Path Parameters

NameTypeDescription

pId

string

Project ID

tcId

string

Test Case ID

Headers

NameTypeDescription

Authentication

string

Authentication token

[
  {
    "Name": "Daily Regression",
    "Description": "",
    "LastExecuted": "2019-05-03T02:01:11.9033333Z",
    "LastSubjectId": "fe36cc18-87dc-4b02-969a-1559641c8a9c",
    "LastSwIdentifier": "1.0",
    "LastSwName": "TestResults.io",
    "LastExecutionStatistic": null,
    "Id": "6d7f68af-5f4d-40bd-a0ea-52758592e91f"
  },
  {
    "Name": "Single Feature Tests",
    "Description": "",
    "LastExecuted": "2019-04-29T08:13:27.4933333Z",
    "LastSubjectId": "fe36cc18-87dc-4b02-969a-1559641c8a9c",
    "LastSwIdentifier": "1.0",
    "LastSwName": "TestResults.io",
    "LastExecutionStatistic": null,
    "Id": "441d5a2b-e7c4-42ea-8a76-ed1bc32aab5f"
  }
]

Get Test Set details

GET https://[customer].testresults.io/api/projects/:pId/testsets/:tsId

Gets Test Sets details.

Path Parameters

NameTypeDescription

pId

string

Project ID

tsId

string

Test Set ID

Headers

NameTypeDescription

Authentication

string

Authentication token

{
  "TestCases": [
    {
      "DataVersion": null,
      "Archived": false,
      "TestPlanList": null,
      "ProjectId": "f00d03ed-38d1-4c65-b42e-cb1ab768ff05",
      "Identifier": "01",
      "Name": "ExecutionRegression",
      "Description": "",
      "LastPlanStatus": "ReadyForExecution",
      "LastReportStatus": "InReview",
      "LastResult": "Passed",
      "LastSwName": "TestResults.io",
      "LastSwIdentifier": "1.0",
      "ExecutionStatistics": [],
      "Id": "ce787fd7-dc6d-4a6f-917b-7e62625555e0"
    }
  ],
  "SelectedSubjectId": "fe36cc18-87dc-4b02-969a-1559641c8a9c",
  "SelectedEnvironmentId": "98bab3a6-9079-49ca-ba28-c8a50bfec5ee",
  "Priority": null,
  "LastRunDuration": "00:00:00",
  "Tags": "",
  "StopOnFailure": false,
  "TimeOut": 80,
  "DataVersion": "AAAAAAAzTcg=",
  "Archived": false,
  "ProjectId": "f00d03ed-38d1-4c65-b42e-cb1ab768ff05",
  "Name": "All Test Types",
  "Description": "",
  "LastExecuted": "2019-04-26T15:05:47.1133333Z",
  "LastSubjectId": "fe36cc18-87dc-4b02-969a-1559641c8a9c",
  "LastSwIdentifier": "1.0",
  "LastSwName": "TestResults.io",
  "LastExecutionStatistic": {
    "ExecutionId": "27f8f8ce-b214-4479-9e28-e610ca623bd9",
    "EnvironmentId": "98bab3a6-9079-49ca-ba28-c8a50bfec5ee",
    "EnvironmentName": "Windows 10 Pro - IE",
    "SoftwareVersionId": "fe36cc18-87dc-4b02-969a-1559641c8a9c",
    "SoftwareName": "TestResults.io",
    "SoftwareVersion": "1.0",
    "Tags": "",
    "ExecutionRequestTime": "2019-04-26T13:05:43.7133333Z",
    "TestCasesTotal": 3,
    "TestCasesPending": 0,
    "TestCasesCanceled": 0,
    "TestCasesAborted": 0,
    "TestCasesWithError": 1,
    "TestCasesPassed": 2,
    "TestCasesFailed": 0
  },
  "Id": "f2da399c-00e7-4001-9a34-bf4873fbf8cd"
}

Get Test Set details (permanent URL)

GET https://[customer].testresults.io/api/projects/0/testsets/:tsId

Gets Test Sets details for permanent URL.

Path Parameters

NameTypeDescription

tsId

string

Test Set ID

Headers

NameTypeDescription

Authentication

string

Authentication token

{
  "TestCases": [
    {
      "DataVersion": null,
      "Archived": false,
      "TestPlanList": null,
      "ProjectId": "f00d03ed-38d1-4c65-b42e-cb1ab768ff05",
      "Identifier": "01",
      "Name": "ExecutionRegression",
      "Description": "",
      "LastPlanStatus": "ReadyForExecution",
      "LastReportStatus": "InReview",
      "LastResult": "Passed",
      "LastSwName": "TestResults.io",
      "LastSwIdentifier": "1.0",
      "ExecutionStatistics": [],
      "Id": "ce787fd7-dc6d-4a6f-917b-7e62625555e0"
    }
  ],
  "SelectedSubjectId": "fe36cc18-87dc-4b02-969a-1559641c8a9c",
  "SelectedEnvironmentId": "98bab3a6-9079-49ca-ba28-c8a50bfec5ee",
  "Priority": null,
  "LastRunDuration": "00:00:00",
  "Tags": "",
  "StopOnFailure": false,
  "TimeOut": 80,
  "DataVersion": "AAAAAAAzTcg=",
  "Archived": false,
  "ProjectId": "f00d03ed-38d1-4c65-b42e-cb1ab768ff05",
  "Name": "All Test Types",
  "Description": "",
  "LastExecuted": "2019-04-26T15:05:47.1133333Z",
  "LastSubjectId": "fe36cc18-87dc-4b02-969a-1559641c8a9c",
  "LastSwIdentifier": "1.0",
  "LastSwName": "TestResults.io",
  "LastExecutionStatistic": {
    "ExecutionId": "27f8f8ce-b214-4479-9e28-e610ca623bd9",
    "EnvironmentId": "98bab3a6-9079-49ca-ba28-c8a50bfec5ee",
    "EnvironmentName": "Windows 10 Pro - IE",
    "SoftwareVersionId": "fe36cc18-87dc-4b02-969a-1559641c8a9c",
    "SoftwareName": "TestResults.io",
    "SoftwareVersion": "1.0",
    "Tags": "",
    "ExecutionRequestTime": "2019-04-26T13:05:43.7133333Z",
    "TestCasesTotal": 3,
    "TestCasesPending": 0,
    "TestCasesCanceled": 0,
    "TestCasesAborted": 0,
    "TestCasesWithError": 1,
    "TestCasesPassed": 2,
    "TestCasesFailed": 0
  },
  "Id": "f2da399c-00e7-4001-9a34-bf4873fbf8cd"
}

Create Test Set

POST https://[customer].testresults.io/api/projects/:pId/testsets

Creates new Test Set.

Path Parameters

NameTypeDescription

pId

string

Project ID

Headers

NameTypeDescription

Authentication

string

Authentication token

Request Body

NameTypeDescription

Name

string

Test Set Name

Description

string

Test Set Description

{
  "Name": "new ts2",
  "Description": "asdasdasdsa",
  "LastExecuted": null,
  "LastSubjectId": null,
  "LastSwIdentifier": null,
  "LastSwName": null,
  "LastExecutionStatistic": null,
  "Id": "53b12fe7-1d69-45a0-a6fd-32137b66f084"
}

Update Test Set

GET https://[customer].testresults.io/api/projects/:pId/testsets/:tsId

Updates an existing Test Set.

Path Parameters

NameTypeDescription

pId

string

Project ID

tsId

string

Test Set ID

Headers

NameTypeDescription

Authentication

string

Authentication token

Request Body

NameTypeDescription

Id

string

Test Set ID

TestCases

array

Array of included Test Cases

Archived

boolean

Archive flag

DataVersion

string

Data Version of Test Set

Description

string

Test Set Description

LastExecuted

string

Date in UTC format

LastExecutionStatistic

object

Last Execution statistics

LastRunDuration

string

Duration in format "hh:mm:ss"

LastSubjectId

string

Last Software Version ID

LastSwIdentifier

string

Last Software Version Identifier

LastSwName

string

Last Software Version Name

Name

string

Test Set Name

Priority

string

Priority

ProjectId

string

Project ID

SelectedEnvironmentId

string

Selected Environment ID

SelectedSubjectId

string

Selected Software Versio ID

StopOnFailure

boolean

Stop On Failure flag

Tags

string

Test Set tags

TimeOut

number

Timeout in minutes

{
  "TestCases": [
    {
      "DataVersion": null,
      "Archived": false,
      "TestPlanList": null,
      "ProjectId": "3e4b7f24-76ec-4bf4-941d-09972e1c46a7",
      "Identifier": "2312312",
      "Name": "asdasdas",
      "Description": "",
      "LastPlanStatus": "TrioDesign",
      "LastReportStatus": null,
      "LastResult": null,
      "LastSwName": null,
      "LastSwIdentifier": null,
      "ExecutionStatistics": [],
      "Id": "6ccebcb7-bb47-4b77-bed9-07502afb5d40"
    }
  ],
  "SelectedSubjectId": null,
  "SelectedEnvironmentId": null,
  "Priority": null,
  "LastRunDuration": "00:00:00",
  "Tags": null,
  "StopOnFailure": false,
  "TimeOut": 0,
  "DataVersion": "AAAAAAAzka4=",
  "Archived": true,
  "ProjectId": "3e4b7f24-76ec-4bf4-941d-09972e1c46a7",
  "Name": "222",
  "Description": null,
  "LastExecuted": null,
  "LastSubjectId": null,
  "LastSwIdentifier": null,
  "LastSwName": null,
  "LastExecutionStatistic": null,
  "Id": "091f1559-1194-464d-aad6-6e0d35f231ec"
}

Delete Test Set

DELETE https://[customer].testresults.io/api/projects/:pId/testsets/:tsId

Removes an existing Test Set.

Path Parameters

NameTypeDescription

pId

string

Project ID

tsId

string

Test Set ID

Headers

NameTypeDescription

Authentication

string

Authentication token

Last updated