Statistics

Get Test Set statistics

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

Gets Test Set statistics.

Path Parameters

Name
Type
Description

pId

string

Project ID

tsId

string

Test Set ID

Query Parameters

Name
Type
Description

fromDate

string

Date in format "yyyy-MM-dd"

toDate

string

Date in format "yyyy-MM-dd"

tag

string

Test Set tags

environmentId

string

Environment ID

Headers

Name
Type
Description

Authentication

string

Authentication token

[
  {
    "ExecutionId": "85b859a7-0860-43c4-9b0b-d7748975b46d",
    "EnvironmentId": "9913cbed-395a-4897-9296-9bee9adbdfc4",
    "EnvironmentName": "Windows 10 Pro - Edge",
    "SoftwareVersionId": "fe36cc18-87dc-4b02-969a-1559641c8a9c",
    "SoftwareName": "TestResults.io",
    "SoftwareVersion": "1.0",
    "Tags": "",
    "ExecutionRequestTime": "2018-11-05T13:31:53.1600000Z",
    "TestCasesTotal": 3,
    "TestCasesPending": 0,
    "TestCasesCanceled": 0,
    "TestCasesAborted": 0,
    "TestCasesWithError": 0,
    "TestCasesPassed": 3,
    "TestCasesFailed": 0
  },
  {
    "ExecutionId": "49281881-43cd-42ad-a82d-e81570eb8e60",
    "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-01-04T21:02:42.0400000Z",
    "TestCasesTotal": 3,
    "TestCasesPending": 0,
    "TestCasesCanceled": 0,
    "TestCasesAborted": 0,
    "TestCasesWithError": 0,
    "TestCasesPassed": 3,
    "TestCasesFailed": 0
  }
]

Get Test Report statistics

GET https://[customer].testresults.io/api/projects/:pId/testcases/:tcId/testplans/:tpId/testreports/:trId/instances/:iId/stats

Gets Test Report statistics.

Path Parameters

Name
Type
Description

pId

string

Project ID

tcId

string

Test Case ID

tpId

string

Test Plan ID

trId

string

Test Report ID

Headers

Name
Type
Description

Authentication

string

Authentication token

{
  "LowerValue": 3199,
  "FirstQuartile": 3404,
  "Median": 3647,
  "Mean": 3635,
  "ThirdQuartile": 3915,
  "UpperValue": 3998,
  "TotalCount": 7,
  "FailedCount": 0,
  "PassedCount": 6,
  "AbortedCount": 1,
  "Outliers": [
    {
      "Id": "31b14691-9800-4398-97ab-0b7bdd6f035e",
      "TestReportsId": "16909cb6-222d-41f4-a96f-6452616ba499",
      "InstanceNr": 1,
      "StartDateTime": "2019-03-28T18:47:11.6700000Z",
      "FinishDateTime": "2019-03-28T18:49:25.1333333Z",
      "DurationInSec": 103,
      "Result": "Aborted"
    }
  ]
}

Last updated