Share this page

# Get domains

Available in versions: 12.60 and later

## Description

Gets the domains list for the authenticated user.

## URL

Copy code

    /LoadTest/rest/domains

## Remarks

None

## HTTP Method

GET: Returns the domains list for the authenticated user.

## Request

Headers:

None

Cookies:

Version 2020 (or later) | LWSSO_COOKIE_KEY={LwssoCookie};
Versions earlier than 2020 | LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie};

Request Body:

None

Request Example
Copy code

    GET http://<LRE_Server>/LoadTest/rest/domains

## Response

Headers:

One of:

- Content-Type: application/xml

- Content-Type: application/json.

Cookies:

None

HTML Return Code:

One of the HTTP Return Codes

HTML Body:

Response Example
Copy code

    <Domains xmlns="http://www.hp.com/PC/REST/API">
      <Domain>
        <Name>JOHN</Name>
      </Domain>
      <Domain>
        <Name>DEFAULT</Name>
      </Domain>
      <Domain>
        <Name>TESTING</Name>
      </Domain>
      <Domain>
        <Name>AUTOMATION</Name>
      </Domain>
    </Domains>

## See Also

Get projects

Tips to improve your search results... LoadRunner Enterprise REST API Reference LRE REST API All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic(Undefined variable: _rscC_Basic_Variables.VersionLabel)