Get tests by query

Description

Returns a list of tests by query (filter).

URL

Copy code
/LoadTest/rest/domains/{domainName}/projects/{projectName}/tests?query={<QUERY_NAME>["<YOUR_QUERY_VALUE>"]}

Runs Query Values

QUERY_NAME options:

  • TsName

  • ID

HTTP Method

GET: Returns a list of tests by query.

Request

Headers:

One of the following:

  • Content-Type: application/xml

  • Content-Type: application/json

Cookies:

  • Version 2020 (or later): LWSSO_COOKIE_KEY={LwssoCookie};

  • Versions earlier than 2020: LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie};

Request Body:

None

Response

Headers:

One of:

  • Accept: application/xml

  • Accept: application/json

Cookies:

None

HTML Return Code:

One of the HTTP Return Codes

HTML Body:

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

See Also

Create a test
Test entity XML
Return, delete, or update a test by test ID