Get all runs

Description

Gets all runs.

URL

Copy code
/Admin/rest/v1/runs

Remarks

None

HTTP Method

GET: Returns the run response.

Request

Headers:

One of the following:

  • Content-Type: application/xml

  • Content-Type: application/json

Cookies:

Versions 2023 and later

ADM_LWSSO={ADM_LWSSO_COOKIE_VALUE};

Versions 2022 - 2022 R2

ADM_LWSSO={ADM_LWSSO_COOKIE_VALUE};

ASP.NET_SessionId_Adm={ASP.NET_SessionId_Adm_COOKIE_VALUE};

LWSSO_COOKIE_KEY={LWSSO_COOKIE_KEY_COOKIE_VALUE};

Versions 2021 - 2021 R2

ADM_LWSSO={ADM_LWSSO_COOKIE_VALUE};

ASP.NET_SessionId_Adm={ASP.NET_SessionId_Adm_COOKIE_VALUE};

Versions 2020 - 2020 SP3

ADM_LWSSO={ADM_LWSSO_COOKIE_VALUE};

Versions earlier than 2020

LWSSO_COOKIE_KEY={LWSSO_COOKIE_KEY_COOKIE_VALUE};

QCSession={QC_SESSION_COOKIE_VALUE};

Request Body:

None

Response

Headers:

One of:

  • Accept: application/xml

  • Accept: application/json

Cookies:

None

HTML Return Code:

One of the HTTP Return Codes.

HTML Body:

The fields in the response are:

ElementDescription
IDThe Run ID.
RunIDThe project run ID.
TestIDThe test ID.
ProjectThe name of the project.
DomainThe domain name.
TestNameThe name given to the test when it was created.

RunName

(previously Name)

The run name.
StartDate

The date and time the run started (YYYY:MM:DD HH:MM:SS).

EndDate

The date and time the run ended (YYYY:MM:DD HH:MM:SS).

DurationThe run time, in minutes.
UserName

The name of the user running the test.

ControllerNameThe Controller involved in the test run.
LoadGeneratorsThe load generators involved in the test run (separated by a semi-colon).

State

(previously RunState)

One of:

  • Before Collating Results
  • Before Creating Analysis Data
  • Canceled
  • Collating Results
  • Creating Analysis Data
  • Failed Collating Results
  • Failed Creating Analysis Data
  • Finished
  • Initializing
  • Pending Creating Analysis Data
  • Run Failure
  • Running
  • Stopping

VusersMax

(previously PCVUsersMax)

The maximum number of concurrent Vusers that ran in the test.

VusersAvg

(previously PCVUsersAvg)

The average number of Vusers used per run.

VusersInvolved

(previously InvolvedVusers)

The total number of Vusers that ran in the test.
TimeslotID The ID of the time slot.

See Also

Get Runs by Query