Test Set (Create/Get all folders)

Available in versions (Get all folders): LoadRunner Enterprise 2020 and later

Description

Creates a new test set folder or retrieves a list of existing test set folders.

URL

/LoadTest/rest/domains/{domainName}/projects/{projectName}/testsetfolders

Remarks

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

HTTP Method

POST: Creates a test set folder.

GET: Returns a list of all test set folders in the body of the response.

Request

Headers:

Content-Type: application/xml

Cookies:

Version 2020 (or later)

LWSSO_COOKIE_KEY={LwssoCookie};

Versions earlier than 2020

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

Request Body:

POST: An XML containing the name and parent ID of the test set in which to create the test instance.

ElementDescription
TestSetFolderNameName of the test set folder.
ParentID of the test set folder.

GET: No request body.

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:

GET: Returns the list of all test set folders in the response.

See Also

Test Set (Create/Get all folders)
Test Set (Create test set)
Test Set (Get all test sets)
Test Set (Delete test set)
Test Set (Update test set name)