Create a test with host attributes

Description

Create tests with specific host attributes.

URL

Copy code
LoadTest/rest/domains/<domain>/projects/<projects>/tests/<testId>/attributes

Remarks

The data can be passed as XML or JSON containing the equivalent data.

HTTP method

POST: Manage the host attributes for tests.

Request

Headers:

One of the following:

  • Content-Type: application/xml

  • Content-Type: application/json

Cookies:

Version Cookie
2020 or later

LWSSO_COOKIE_KEY={LwssoCookie};

Earlier than 2020

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

Request body:

XML or JSON describing the attributes and locations.

Response

Headers:

None

Cookies:

None

HTML return code:

One of the HTTP return codes

HTML body:

None