Concepts

Tests & Tasks

Test definitions and their executions

Tests

A test is a reusable definition: which tool to use, the script content, and any configuration. Tests have statuses:

StatusMeaning
draftWork in progress, not yet runnable
activeCan be triggered
archivedDisabled, kept for historical reference

Supported tools

TypeDescription
k6Grafana k6 — JavaScript-based, low overhead
jmeterApache JMeter — XML-based, feature-rich
locustPython-based, code-first
artilleryYAML / JS, great for HTTP and WebSockets
gatlingScala / Java, enterprise-grade
customBring your own binary

Tasks

A task is a single execution of a test. When you trigger a test, a task record is created and dispatched to available machines.

Task lifecycle

pending → running → passed | failed | cancelled | timeout

Result metrics

After a task completes, the following metrics are recorded:

MetricDescription
p50Median response time in milliseconds
p9595th percentile response time
p9999th percentile response time
errorRateFraction of failed requests (0.0–1.0)
requestsPerSecThroughput at peak load
totalRequestsTotal requests sent during the task

Triggering a task via the API

curl -X POST http://localhost:8090/api/v1/tasks \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"testId": "your-test-id"}'

The response returns 202 Accepted with the task ID. Poll GET /api/v1/tasks/{id} to track progress.