Share this page

# Get all tests

## Description

Gets all existing tests in the project.

## URL

Copy code

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

## HTTP method

GET: Returns the tests in the body of the response.

## Request

Headers:

Accept: application/xml

Cookies:

Version | Cookie
--- | ---
2020 or later | LWSSO_COOKIE_KEY={LwssoCookie};
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/tests

## Response

Headers:

Content-Type: application/xml

Cookies:

None

HTML return code:

One of the HTTP return codes

HTML body:

The XML containing the tests.

Response example:

Copy code

    <Tests xmlns="http://www.hp.com/PC/REST/API">
        <Test>
            <ID>176</ID>
            <Name>Test_a</Name>
            <CreatedBy>rnd_qa</CreatedBy>
            <LastModified>3/4/2024 1:55:53 AM</LastModified>
            <TestFolderPath>Subject\TestFolder01</TestFolderPath>
        </Test>
        <Test>
            <ID>177</ID>
            <Name>Test_b</Name>
            <CreatedBy>rnd_qa</CreatedBy>
            <LastModified>3/4/2024 1:59:09 AM</LastModified>
            <TestFolderPath>Subject\TestFolder01</TestFolderPath>
        </Test>
        <Test>
            <ID>178</ID>
            <Name>Test_c</Name>
            <CreatedBy>rnd_qa</CreatedBy>
            <LastModified>3/4/2024 2:02:55 AM</LastModified>
            <TestFolderPath>Subject\TestFolder01</TestFolderPath>
        </Test>
    </Tests>

See also:

- Create a test
- Test entity XML
- Return, delete, or update a test by test ID
- Get tests by query

Tips to improve your search results... OpenText™ Enterprise Performance Engineering API Reference OpenText™ Enterprise Performance Engineering All View Local Help Center View Online Help Center(Undefined variable: _rscC_Basic_Variables.VersionLabel)