Skip to main content
POST
Create test case

Body

application/json

Request body for creating a new test case linked to a project

name
string
required
goal
string
required
Minimum string length: 1
applicationShortId
string
required
Pattern: ^app(-.+_.+|_.+)$
expectedResult
string
resumeFromDependencyProjectTestCaseId
string
waitForDependenciesProjectTestCaseIds
string[]
configShortIds
string[]
Pattern: ^cfg(-.+_.+|_.+)$
scenarioShortId
string
Pattern: ^scenario(-.+_.+|_.+)$
projectShortId
string

Target a specific project by its prefixed short ID (proj-slug_shortId or proj_shortId), as returned by the projects API. Required for organization-scoped API keys; project-scoped keys may only pass their own project's short ID.

Pattern: ^proj(-.+_.+|_.+)$

Response

200 - application/json

The request has succeeded.

success
boolean
required
testCase
object
required