Test Plan (Create, Get all folders)

Description

Adds a new test plan folder or retrieves a list of existing test plan folders.

URL

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

Remarks

Body of the request should contain a resource folder description in xml.

HTTP Method

POST: Creates a test plan folder.

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

Request

Headers:

Content-Type: application/xml

Cookies:

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

Request Body:

POST: An XML containing the path and name of the new folder.

The fields in the request are:

Element Description
Name

Under which folder the new folder should be created.

Path

Name of the new folder.

GET: No request body.

Response

Headers:

One of:

Cookies:

None

HTML Return Code:

One of the HTTP Return Codes

HTML Body:

The fields in the response are:

Element Description
Id

Unique numeric identifier.

ParentId

The Id of the parent folder.

Name

Folder name.

FullPath

The full path of the folder, including the root (usually 'Subject') and the folder itself.