Resources > Groups/{name} (Add group to test)

Groups/{name}

Description

A group in a test.

URL

/LoadTest/rest/domains/{domainName}/projects/{projectName}/tests/{ID}/Groups/{group name}

Remarks

Adds a group to a test, deletes a group from a test, gets data on group, or updates the data of an existing group in the test.

PUT: If the group exists in the test, the group data is updated. If not, a new group is added. The data can be passed as XML or as JSON containing the equivalent data.

HTTP Method

GET: Gets the data on the group.

PUT: Adds or updates the group.

DELETE: Removes the group from the test.

Request

Headers:

PUT, one of:

GET: One of:

Cookies:

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

Request Body:

GET: No request body.

DELETE: No request body.

PUT: An XML describing the data to be updated in the test, or the equivalent in JSON format. See test entity XML

Response

Headers:

None

Cookies:

None

HTML Return Code:

One of the HTTP Return Codes

HTML Body:

PUT, DELETE: None

GET: The data on the group.

See Also

tests
Groups
Run-time Settings XML