Add, update, or remove a group from a test
Description
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.
URL
/LoadTest/rest/domains/{domainName}/projects/{projectName}/tests/{ID}/Groups/{group name}
Remarks
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 containing the equivalent data.
Adding and updating group data does not work with JSON.
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:
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:
GET: No request body.
DELETE: No request body.
PUT: An XML describing the data to be updated in the test. 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
Create a test
Get or delete all groups in testRuntime Settings