Vaktum

Schema: TestStep

A single step in a test case that executes an API request or other action

Properties

ExpectedSpecificHTTPCode integer

Specific HTTP status code to expect when HTTPCodeValidation is set to 'SpecificCode'

HTTPCodeValidation string

The type of HTTP status code validation to perform

Parameters array

List of parameters to run the test step with multiple input variations

description string Required

Human-readable description of what this test step does

endpoint string

The API endpoint URL for this test step

expectedHttpCode integer

Expected HTTP status code for this request (DEPRECATED: use HTTPCodeValidation and ExpectedSpecificHTTPCode instead)

expectedResponseBody string

Expected response body for exact matching when ResponseBodyValidation is set to 'Complete'

expectedResponseContent array

List of specific response content items to validate when ResponseBodyValidation is set to 'Partial'

extractedValues object

Map of extracted values from the response that can be used in subsequent test steps

headers array

HTTP headers to include with this request

httpMethod string

The HTTP method to use for this request (GET, POST, PUT, DELETE, etc.)

maxDurationMS integer

Maximum allowed duration for this request in milliseconds

requestBody string

The request body to send with this request (for POST, PUT, PATCH)

responseBodyValidation string

The type of response body validation to perform

sharedStepID string

ID of the shared step to reference (used when testStepAction is SHARED_STEP)

testStepAction string Required

The type of action for this test step (HTTP, SLEEP, RECEIVE_WEBHOOK, SHARED_STEP, GRPC)

valuesToExtract array

List of values to extract from the response using JSONPath selectors

webhookMatchingCriteria array

Criteria for matching webhook payload content

webhookMatchingMode string

How to match incoming webhooks to the test step

webhookTimeoutMS integer

Maximum time to wait for a webhook in milliseconds. Default is 60000 (60 seconds).