Get all cloud host templates

Available in versions: 2022 R1 and later

Description

Retrieves a list of all existing cloud host templates in the project.

URL

Copy code
/LoadTest/rest/domains/{domainName}/projects/{projectName}/cloud/templates

HTTP Method

GET: Returns the cloud host templates in the body of the response.

Request

Headers:

Accept: application/xml

Cookies:

Version 2020 (or later)

LWSSO_COOKIE_KEY={LwssoCookie};

Versions earlier than 2020

LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie};

Request Body:

None

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:

The XML containing the cloud host templates.

See Also

Get cloud host templates by ID