Open topic with navigation

# tests/{ID}/validity

## Description

Returns diagnostics on test design.

## URL

    /LoadTest/rest/domains/{domainName}/projects/{projectName}/tests/{ID}/validity

## Remarks

Test instances of this test are available for execution if `<IsValid>` is true in the returned data.

## HTTP Method

GET: Returns the test validity data.

## Request

Headers:

Accept: application/xml

Cookies:

Version 2020 (or later) | LWSSO_COOKIE_KEY={LwssoCookie};
Versions earlier than 2020 | LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie};

Request Body:

None

Request Example

    GET http://<LRE_Server>/LoadTest/rest/domains/TEST_DOMAIN/projects/TEST_PROJECT/tests/1/validity
    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:

Returns the data in XML or equivalent JSON string. See test validity XML

## See Also

tests
test creation XML
test validity XML