GET api/environment

Get all test run environments

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of TestEnvironment
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

BaseUrlToTest

string

Required

UrlForDisplay

string

None.

Agents

Collection of AgentDto

None.

Tests

Collection of Test

None.

ProjectId

integer

None.

Project

ProjectDto

None.

TotalTestRuns

integer

None.

TotalSuccess

integer

None.

TotalFailure

integer

None.

TotalInconclusive

integer

None.

TotalInQueue

integer

None.

TotalTestSessions

integer

None.

TotalSuccessSessions

integer

None.

TotalFailureSessions

integer

None.

TotalInconclusiveSessions

integer

None.

TotalInQueueSessions

integer

None.

TodayTestRuns

integer

None.

TodaySuccess

integer

None.

TodayFailure

integer

None.

TodayInconclusive

integer

None.

TodayInQueue

integer

None.

TodayTestSessions

integer

None.

TodaySuccessSessions

integer

None.

TodayFailureSessions

integer

None.

TodayInconclusiveSessions

integer

None.

TodayInQueueSessions

integer

None.

LatestTestRunDtos

Collection of LatestTestRunDto

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "BaseUrlToTest": "sample string 3",
    "UrlForDisplay": "http://sample string 3",
    "Agents": [
      {
        "Status": 2,
        "LastHeartbeat": "2020-06-21T12:58:38.590162+00:00",
        "Id": 1,
        "Machine": "sample string 5",
        "OperatingSystem": {
          "Id": 1,
          "Name": "sample string 2",
          "Is64Bit": true
        },
        "IsOs64Bit": false,
        "InstalledBrowsers": [
          {
            "Id": 1,
            "BrowserType": 0,
            "Version": "sample string 2",
            "Is64Bit": true
          },
          {
            "Id": 1,
            "BrowserType": 0,
            "Version": "sample string 2",
            "Is64Bit": true
          }
        ],
        "MaxParallelBrowsers": 2
      },
      {
        "Status": 2,
        "LastHeartbeat": "2020-06-21T12:58:38.590162+00:00",
        "Id": 1,
        "Machine": "sample string 5",
        "OperatingSystem": {
          "Id": 1,
          "Name": "sample string 2",
          "Is64Bit": true
        },
        "IsOs64Bit": false,
        "InstalledBrowsers": [
          {
            "Id": 1,
            "BrowserType": 0,
            "Version": "sample string 2",
            "Is64Bit": true
          },
          {
            "Id": 1,
            "BrowserType": 0,
            "Version": "sample string 2",
            "Is64Bit": true
          }
        ],
        "MaxParallelBrowsers": 2
      }
    ],
    "Tests": [
      {
        "Id": 1,
        "TestRunId": 2,
        "TestRunTotalTime": 1.1,
        "TestBinariesId": 3,
        "AgentId": 1,
        "AgentMachineName": "sample string 4",
        "OsName": "sample string 5",
        "IsOs64Bit": true,
        "Name": "sample string 7",
        "Log": "sample string 8",
        "ResultState": 0,
        "TestRunResultState": 0,
        "BrowserType": 0,
        "BrowserVersion": "sample string 9",
        "BrowserIsVirtual": true,
        "FullName": "sample string 11",
        "AssemblyName": "sample string 12",
        "TestNameDtoId": 1,
        "TestNameDtoName": "sample string 13",
        "EnvironmentId": 14,
        "EnvironmentName": "sample string 15",
        "UrlToTest": "sample string 16",
        "UrlForDisplay": "http://sample string 16",
        "CreatedTime": "2020-06-21T12:58:38.590162+00:00",
        "QueuedTime": "2020-06-21T12:58:38.590162+00:00",
        "StartedTime": "2020-06-21T12:58:38.590162+00:00",
        "CompletedTime": "2020-06-21T12:58:38.590162+00:00",
        "Asserts": 18,
        "Success": true,
        "RunnerDurationTime": 1.0,
        "FailureMessage": "sample string 19",
        "StackTrace": "sample string 20",
        "Exception": "sample string 21",
        "QueueMessageId": "sample string 22",
        "TimeInQueue": 1.1,
        "ExecutionDuration": 1.1,
        "TestBinariesName": "sample string 23",
        "QueueName": "sample string 24",
        "TestsConcurrency": 25,
        "IsTimedOut": false,
        "TestImages": [
          "sample string 1",
          "sample string 2"
        ],
        "TestRunCompletedList": [
          1,
          1
        ],
        "IsInProgress": false,
        "IsInQueue": false
      },
      {
        "Id": 1,
        "TestRunId": 2,
        "TestRunTotalTime": 1.1,
        "TestBinariesId": 3,
        "AgentId": 1,
        "AgentMachineName": "sample string 4",
        "OsName": "sample string 5",
        "IsOs64Bit": true,
        "Name": "sample string 7",
        "Log": "sample string 8",
        "ResultState": 0,
        "TestRunResultState": 0,
        "BrowserType": 0,
        "BrowserVersion": "sample string 9",
        "BrowserIsVirtual": true,
        "FullName": "sample string 11",
        "AssemblyName": "sample string 12",
        "TestNameDtoId": 1,
        "TestNameDtoName": "sample string 13",
        "EnvironmentId": 14,
        "EnvironmentName": "sample string 15",
        "UrlToTest": "sample string 16",
        "UrlForDisplay": "http://sample string 16",
        "CreatedTime": "2020-06-21T12:58:38.590162+00:00",
        "QueuedTime": "2020-06-21T12:58:38.590162+00:00",
        "StartedTime": "2020-06-21T12:58:38.590162+00:00",
        "CompletedTime": "2020-06-21T12:58:38.590162+00:00",
        "Asserts": 18,
        "Success": true,
        "RunnerDurationTime": 1.0,
        "FailureMessage": "sample string 19",
        "StackTrace": "sample string 20",
        "Exception": "sample string 21",
        "QueueMessageId": "sample string 22",
        "TimeInQueue": 1.1,
        "ExecutionDuration": 1.1,
        "TestBinariesName": "sample string 23",
        "QueueName": "sample string 24",
        "TestsConcurrency": 25,
        "IsTimedOut": false,
        "TestImages": [
          "sample string 1",
          "sample string 2"
        ],
        "TestRunCompletedList": [
          1,
          1
        ],
        "IsInProgress": false,
        "IsInQueue": false
      }
    ],
    "ProjectId": 4,
    "Project": {
      "Id": 1,
      "Name": "sample string 2"
    },
    "TotalTestRuns": 5,
    "TotalSuccess": 6,
    "TotalFailure": 7,
    "TotalInconclusive": 8,
    "TotalInQueue": -16,
    "TotalTestSessions": 9,
    "TotalSuccessSessions": 10,
    "TotalFailureSessions": 11,
    "TotalInconclusiveSessions": 12,
    "TotalInQueueSessions": -24,
    "TodayTestRuns": 13,
    "TodaySuccess": 14,
    "TodayFailure": 15,
    "TodayInconclusive": 16,
    "TodayInQueue": -32,
    "TodayTestSessions": 17,
    "TodaySuccessSessions": 18,
    "TodayFailureSessions": 19,
    "TodayInconclusiveSessions": 20,
    "TodayInQueueSessions": -40,
    "LatestTestRunDtos": [
      {
        "ConfigId": 1,
        "ConfigName": "sample string 2",
        "LastRan": "2020-06-21T12:58:38.590162+00:00",
        "Total": 4,
        "Pass": 5,
        "Fail": 6,
        "Error": 7,
        "InQueue": 8,
        "DidPass": false,
        "DidFail": true,
        "DidError": false,
        "IsInQueue": false
      },
      {
        "ConfigId": 1,
        "ConfigName": "sample string 2",
        "LastRan": "2020-06-21T12:58:38.590162+00:00",
        "Total": 4,
        "Pass": 5,
        "Fail": 6,
        "Error": 7,
        "InQueue": 8,
        "DidPass": false,
        "DidFail": true,
        "DidError": false,
        "IsInQueue": false
      }
    ]
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "BaseUrlToTest": "sample string 3",
    "UrlForDisplay": "http://sample string 3",
    "Agents": [
      {
        "Status": 2,
        "LastHeartbeat": "2020-06-21T12:58:38.590162+00:00",
        "Id": 1,
        "Machine": "sample string 5",
        "OperatingSystem": {
          "Id": 1,
          "Name": "sample string 2",
          "Is64Bit": true
        },
        "IsOs64Bit": false,
        "InstalledBrowsers": [
          {
            "Id": 1,
            "BrowserType": 0,
            "Version": "sample string 2",
            "Is64Bit": true
          },
          {
            "Id": 1,
            "BrowserType": 0,
            "Version": "sample string 2",
            "Is64Bit": true
          }
        ],
        "MaxParallelBrowsers": 2
      },
      {
        "Status": 2,
        "LastHeartbeat": "2020-06-21T12:58:38.590162+00:00",
        "Id": 1,
        "Machine": "sample string 5",
        "OperatingSystem": {
          "Id": 1,
          "Name": "sample string 2",
          "Is64Bit": true
        },
        "IsOs64Bit": false,
        "InstalledBrowsers": [
          {
            "Id": 1,
            "BrowserType": 0,
            "Version": "sample string 2",
            "Is64Bit": true
          },
          {
            "Id": 1,
            "BrowserType": 0,
            "Version": "sample string 2",
            "Is64Bit": true
          }
        ],
        "MaxParallelBrowsers": 2
      }
    ],
    "Tests": [
      {
        "Id": 1,
        "TestRunId": 2,
        "TestRunTotalTime": 1.1,
        "TestBinariesId": 3,
        "AgentId": 1,
        "AgentMachineName": "sample string 4",
        "OsName": "sample string 5",
        "IsOs64Bit": true,
        "Name": "sample string 7",
        "Log": "sample string 8",
        "ResultState": 0,
        "TestRunResultState": 0,
        "BrowserType": 0,
        "BrowserVersion": "sample string 9",
        "BrowserIsVirtual": true,
        "FullName": "sample string 11",
        "AssemblyName": "sample string 12",
        "TestNameDtoId": 1,
        "TestNameDtoName": "sample string 13",
        "EnvironmentId": 14,
        "EnvironmentName": "sample string 15",
        "UrlToTest": "sample string 16",
        "UrlForDisplay": "http://sample string 16",
        "CreatedTime": "2020-06-21T12:58:38.590162+00:00",
        "QueuedTime": "2020-06-21T12:58:38.590162+00:00",
        "StartedTime": "2020-06-21T12:58:38.590162+00:00",
        "CompletedTime": "2020-06-21T12:58:38.590162+00:00",
        "Asserts": 18,
        "Success": true,
        "RunnerDurationTime": 1.0,
        "FailureMessage": "sample string 19",
        "StackTrace": "sample string 20",
        "Exception": "sample string 21",
        "QueueMessageId": "sample string 22",
        "TimeInQueue": 1.1,
        "ExecutionDuration": 1.1,
        "TestBinariesName": "sample string 23",
        "QueueName": "sample string 24",
        "TestsConcurrency": 25,
        "IsTimedOut": false,
        "TestImages": [
          "sample string 1",
          "sample string 2"
        ],
        "TestRunCompletedList": [
          1,
          1
        ],
        "IsInProgress": false,
        "IsInQueue": false
      },
      {
        "Id": 1,
        "TestRunId": 2,
        "TestRunTotalTime": 1.1,
        "TestBinariesId": 3,
        "AgentId": 1,
        "AgentMachineName": "sample string 4",
        "OsName": "sample string 5",
        "IsOs64Bit": true,
        "Name": "sample string 7",
        "Log": "sample string 8",
        "ResultState": 0,
        "TestRunResultState": 0,
        "BrowserType": 0,
        "BrowserVersion": "sample string 9",
        "BrowserIsVirtual": true,
        "FullName": "sample string 11",
        "AssemblyName": "sample string 12",
        "TestNameDtoId": 1,
        "TestNameDtoName": "sample string 13",
        "EnvironmentId": 14,
        "EnvironmentName": "sample string 15",
        "UrlToTest": "sample string 16",
        "UrlForDisplay": "http://sample string 16",
        "CreatedTime": "2020-06-21T12:58:38.590162+00:00",
        "QueuedTime": "2020-06-21T12:58:38.590162+00:00",
        "StartedTime": "2020-06-21T12:58:38.590162+00:00",
        "CompletedTime": "2020-06-21T12:58:38.590162+00:00",
        "Asserts": 18,
        "Success": true,
        "RunnerDurationTime": 1.0,
        "FailureMessage": "sample string 19",
        "StackTrace": "sample string 20",
        "Exception": "sample string 21",
        "QueueMessageId": "sample string 22",
        "TimeInQueue": 1.1,
        "ExecutionDuration": 1.1,
        "TestBinariesName": "sample string 23",
        "QueueName": "sample string 24",
        "TestsConcurrency": 25,
        "IsTimedOut": false,
        "TestImages": [
          "sample string 1",
          "sample string 2"
        ],
        "TestRunCompletedList": [
          1,
          1
        ],
        "IsInProgress": false,
        "IsInQueue": false
      }
    ],
    "ProjectId": 4,
    "Project": {
      "Id": 1,
      "Name": "sample string 2"
    },
    "TotalTestRuns": 5,
    "TotalSuccess": 6,
    "TotalFailure": 7,
    "TotalInconclusive": 8,
    "TotalInQueue": -16,
    "TotalTestSessions": 9,
    "TotalSuccessSessions": 10,
    "TotalFailureSessions": 11,
    "TotalInconclusiveSessions": 12,
    "TotalInQueueSessions": -24,
    "TodayTestRuns": 13,
    "TodaySuccess": 14,
    "TodayFailure": 15,
    "TodayInconclusive": 16,
    "TodayInQueue": -32,
    "TodayTestSessions": 17,
    "TodaySuccessSessions": 18,
    "TodayFailureSessions": 19,
    "TodayInconclusiveSessions": 20,
    "TodayInQueueSessions": -40,
    "LatestTestRunDtos": [
      {
        "ConfigId": 1,
        "ConfigName": "sample string 2",
        "LastRan": "2020-06-21T12:58:38.590162+00:00",
        "Total": 4,
        "Pass": 5,
        "Fail": 6,
        "Error": 7,
        "InQueue": 8,
        "DidPass": false,
        "DidFail": true,
        "DidError": false,
        "IsInQueue": false
      },
      {
        "ConfigId": 1,
        "ConfigName": "sample string 2",
        "LastRan": "2020-06-21T12:58:38.590162+00:00",
        "Total": 4,
        "Pass": 5,
        "Fail": 6,
        "Error": 7,
        "InQueue": 8,
        "DidPass": false,
        "DidFail": true,
        "DidError": false,
        "IsInQueue": false
      }
    ]
  }
]

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.