Resources > Scripts/{ID}

Scripts/{ID}

Description

Returns or deletes a script by the specified script or zip ID.

URL

/LoadTest/rest/domains/{domainName}/projects/{projectName}/scripts/{ID}

/LoadTest/rest/domains/{domainName}/projects/{projectName}/scripts/{ID}/zip

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:

One of:

Cookies:

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

Request Body:

GET: No request body.

DELETE: No request body.

Response

Headers:

One of:

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

Scripts
tests