Gets or Deletes all groups from a test.
/LoadTest/rest/domains/{domainName}/projects/{projectName}/tests/{ID}/Groups
None
GET: Returns data on groups in the test.
DELETE: Removes all groups from the test.
Headers:
DELETE: None
GET: One of:
Cookies:
LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie};
Request Body:
No request body.
DELETE http://<PcServer>/LoadTest/rest/domains/TEST_DOMAIN/projects/TEST_PROJECT/tests/1/Groups Content-Type: application/xml Cookie: LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie};
Headers:
DELETE: None
GET: One of:
Cookies:
None
HTML Return Code:
One of the HTTP Return Codes
HTML Body:
DELETE: None
GET: Groups data
<Groups xmlns="http://www.hp.com/PC/REST/API"> <Group> <Name>login_logout</Name> <Vusers>10</Vusers> <Script> <ID>1</ID> </Script> <RTS> <Pacing> <NumberOfIterations>1</NumberOfIterations> <StartNewIteration Type="immediately"/> </Pacing> <ThinkTime Type="replay"/> <Log Type="standard"> <LogOptions Type="on error"> <CacheSize>1</CacheSize> </LogOptions> </Log> </RTS> </Group> </Groups>
|