Version Control (Get/Update version control status)

Description

Returns or updates the version control status of a test. The status defines if a test is checked-in or checked-out.

URL

/LoadTest/rest/domains/{domainName}/projects/{projectName}/tests/{id}/versioncontrol

Remarks

The data can be passed as XML containing the equivalent data.

HTTP Method

GET: Returns the version control state of a test.

PATCH: Updates the version control state of a test.

Request

Headers:

Accept: application/xml

PATCH:

Content-Type: application/xml

Cookies:

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

Request Body:

GET: No request body.

PATCH: An XML describing the new version control status in the test. Possible status values are CheckedIn and CheckedOut.

Response

Headers:

GET. One of:

PATCH: None

Cookies:

None

HTML Return Code:

One of the HTTP Return Codes.

Upon successful deletion, returns HTTP status 200 (OK).

HTML Body:

GET: Returns the data on the entity in the response.

PATCH: No body returned.