Skip to main content
Test RunsCreate Test Run
TestMu AI
StatusCommunityBlog
Test Runs

Create Test Run

Create Test Run

POST
/api/v1/test-run
Create Test Run
curl --request POST \
--url "https://test-manager-api.lambdatest.com/api/v1/test-run" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"title": "New Test Run",
"objective": "Sample Discreption",
"test_run_instances": [],
"tags": [
"tag1",
"tag2",
"tag3"
],
"project_id": "sample project id",
"is_auteur_generated": false
}'
{
"message": "Test Run created successfully",
"type": "Success",
"id": "test_run_id"
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
titlestring
objectivestring
test_run_instancesarray
tagsarray
project_idstring
is_auteur_generatedboolean

Response

application/json

OK

messagestring
Example: "Test Run created successfully"
typestring
Example: "Success"
idstring
Example: "test_run_id"
Create Test Run
curl --request POST \
--url "https://test-manager-api.lambdatest.com/api/v1/test-run" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"title": "New Test Run",
"objective": "Sample Discreption",
"test_run_instances": [],
"tags": [
"tag1",
"tag2",
"tag3"
],
"project_id": "sample project id",
"is_auteur_generated": false
}'
{
"message": "Test Run created successfully",
"type": "Success",
"id": "test_run_id"
}