Get Licenses by Query

Description

Returns a list of LoadRunner Enterprise licenses by query (filter).

URL

Copy code
/Admin/rest/v1/licenses?query={<QUERY_NAME>["<YOUR_QUERY_VALUE>"]}

License Query Values

QUERY_NAME options

  • ID
  • LicenseType (previously Type in LoadRunner Enterprise 12.6x and earlier versions)

  • AssignedDate
  • ConcurrentRuns
  • ExpirationDate
  • ValidFromDate
  • Vusers

Remarks

None

HTTP Method

GET: Returns a list of licenses by query.

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:

GET: Returns the data on the entity in the response.

The fields in the response are:

ElementDescription
IDThe project's ID.
LicenseType (previously <Type> in LoadRunner Enterprise 12.6x and earlier versions)

The LoadRunner Enterprise license type:

  • PC. The PC license is limited by the total number of concurrent runs or Vusers, and may have an expiration date.
  • PC_VUDS. A Virtual User Flex Day (VUFD) license provides you with a specified number of Vusers that you can run an unlimited number of times within a 24 hour period (the Virtual User Flex Day).
AssignedDateThe date the license was assigned.
FactoryLicenseThe license number.
ConcurrentRunsThe maximum number of concurrent test runs allowed within a project.
ExpirationDateThe expiration date of the license.
ValidFromDateThe start date of the license.
VusersThe total number of Vusers that can be run concurrently.

See Also

Get licenses
Get license by ID
Get license summary