Open topic with navigation

# tests

## Description

Creates a test.

## URL

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

## Remarks

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

## HTTP Method

POST: Creates the design test.

## Request

Headers:

Content-Type: application/xml

Cookies:

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

Request Body:

An XML describing the test. See test entity XML

Request Example

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

The data on the new entity. See test creation XML.

## See Also

test entity XML
test creation XML
Runtime Settings XML