Share this page

# Get all test instances by test ID

Available in versions: 12.56 and later

## Description

Gets all test instances in the project by the specified TestID.

## URL

Copy code

    /LoadTest/rest/domains/{domainName}/projects/{projectName}/testInstances?query={test-id["{test_id}"]}

## HTTP Method

GET: Returns the test instances in the body of the response.

## 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
Copy code

    GET http://<LRE_Server>/LoadTest/rest/domains/MyDomain/projects/MyProject/testInstances?query={test-id["2"]}

## Response

Headers:

Content-Type: application/xml

Cookies:

None

HTML Return Code:

One of the HTTP Return Codes

HTML Body:

The XML containing the test instances.

## See Also

Create new instance in test set

Tips to improve your search results... LoadRunner Enterprise REST API Reference LRE REST API All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic(Undefined variable: _rscC_Basic_Variables.VersionLabel)