Returns or deletes a script by ID
Description
Returns or deletes a script by the specified script or zip ID.
URL
Remarks
None
HTTP Method
GET: scripts/{ID}
returns the script metadata. scripts/{ID}/zip
returns the zip archive of the script.
DELETE: Deletes the script.
Request
Headers:
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.

GET http://<LRE_Server>/LoadTest/rest/domains/TEST_DOMAIN/projects/TEST_PROJECT/scripts/125
Content-Type: application/xml
Cookie: LWSSO_COOKIE_KEY={LwssoCookie};
Response
Headers:
One of:
- Content-Type: application/xml
- Content-Type: application/json
Cookies:
None
HTML Return Code:
One of the HTTP Return Codes
HTML Body:
GET: Returns the data on the entity in the script entity XML or equivalent JSON string.
DELETE: No body returned.
See Also