v1
latestOpenAPI 3.1.02026-07-22106199311.5 KBTest Execution
Create Test Execution
Trigger test execution(s) for a given project.
Scope determines which fields are required:
- scope=TEST — provide a tests array of test file names (each ending in .test.yaml).
- scope=PIPELINE — provide a pipelines array of pipeline file names (each ending in .orch.yaml or .tran.yaml). All tests associated with those pipelines will run.
- scope=PROJECT — runs every test in the project; no tests or pipelines field needed.
environmentName is always required. versionName, executionTag, and agentId are optional and work with any scope.
post/v1/projects/{projectId}/test-executions
Path parameters
projectIdstring uuid required
Request body
Example request
{
"agentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"environmentName": "environment1",
"executionTag": "nightly",
"pipelines": [
{
"name": "mypipeline.orch.yaml"
}
],
"scope": "TEST",
"tests": [
{
"name": "mytest.test.yaml"
}
],
"versionName": "v1.2.3"
}Response
Test execution created
Example response
{
"testExecutionId": "1398aa31-af57-4a6a-9752-27c2e8556c3f"
}