Create a test set

Description

Creates a new test set.

URL

Copy code
/LoadTest/rest/domains/{domainName}/projects/{projectName}/testsets

Remarks

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

HTTP Method

POST: Creates the test set.

Request

Headers:

One of the following:

  • Content-Type: application/xml

  • Content-Type: application/json

Cookies:

Version 2020 (or later)

LWSSO_COOKIE_KEY={LwssoCookie};

Versions earlier than 2020

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

Request Body:

XML or JSON containing the name and parent ID of the test set in which to create the test instance.

ElementDescription
TestSetNameName of the test set.
TestSetParentId

ID of the test set folder. This can be taken from {project name} schema in Database > CYCL_FOLD table > CF_ITEM_ID column.

TestSetComment Comment (Optional).

Response

Headers:

None

Cookies:

None

HTML Return Code:

One of the HTTP Return Codes

HTML Body:

See Also

Create or get all folders in a test set
Get all test sets
Delete a test set
Update test set name