Create a test
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

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
Return, delete, or update a test by test ID
Test creation XML
Runtime Settings XML
Get test validity data
Test validity XML