Returns, deletes, or updates a test design.
/LoadTest/rest/domains/{domainName}/projects/{projectName}/tests/{ID}
When updating the test data, the request body contains only the data to be changed. The request body is a subset of test entity XML.
The test data can be passed as XML or as JSON containing the equivalent data.
GET: Returns the design test.
PUT: Updates the design test.
DELETE: Deletes the test.
Headers:
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
GET http://<PcServer>/LoadTest/rest/domains/TEST_DOMAIN/projects/TEST_PROJECT/tests/1 Content-Type: application/xml Cookie: LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie};
Headers:
One of:
Cookies:
None
HTML Return Code:
See the HTTP Return Codes
HTML Body:
GET and PUT: Returns the data on the entity in the test entity XML or equivalent JSON string. If method is PUT, returns the data after the update. See test creation response XML.
DELETE: No body returned.
|