Skip to main content
Version: 1.0.8

Test Runs and Results

Execution is split between two services: AutoRunner executes automated runs, and Test Management records manual execution results against test plans.

note

There is no test-sessions resource. Earlier versions of this page described one; use the endpoints below instead.

AutoRunner test runs

Base path: https://api.rabbitqa.com/autorunner/api/v1/test-runs

Starting and stopping

MethodPathPurpose
POST/test-runsCreate a run
POST/test-runs/startStart a run
POST/test-runs/start/scenarioStart a single scenario
POST/test-runs/start/bulkStart several runs together
POST/test-runs/stopStop a running test
DELETE/test-runs/{id}Delete a run

Reading runs

MethodPathPurpose
GET/test-runsList runs
GET/test-runs/summarySummary rows for listing screens
GET/test-runs/activeRuns currently executing
GET/test-runs/statusStatus overview
GET/test-runs/{id}Full run detail
GET/test-runs/{id}/liteLightweight run detail
GET/test-runs/{id}/collectionThe collection the run executed
GET/test-runs/{id}/environmentEnvironment used by the run
POST/test-runs/searchSearch with a filter body
GET/test-runs/compareCompare two runs
GET/test-runs/exportExport runs as CSV

Results

MethodPathPurpose
GET/test-runs/{id}/resultsAll results for a run
GET/test-runs/{id}/results/{resultId}One result
GET/test-runs/{id}/scenarios/{scenarioId}/attemptsRetry attempts for a scenario
POST/test-runs/{id}/resultsReport a result

Controlling a scenario mid-run

An AI-driven scenario can be paused, resumed and instructed while it is executing.

MethodPathPurpose
POST/test-runs/{id}/scenarios/{scenarioId}/pausePause
POST/test-runs/{id}/scenarios/{scenarioId}/resumeResume
POST/test-runs/{id}/scenarios/{scenarioId}/instructSend an instruction
GET/test-runs/{id}/scenarios/{scenarioId}/agent-questionsQuestions the agent is waiting on
GET/test-runs/{id}/scenarios/{scenarioId}/conversationThe agent conversation
  • /autorunner/api/v1/test-suites — plans, called test suites in the API
  • /autorunner/api/v1/scenarios — scenario definitions
  • /autorunner/api/v1/test-schedulers — scheduled runs
  • /autorunner/api/v1/test-run-report, /test-run-content, /test-reports — reporting
warning

AutoRunner traffic is rate limited. See Rate Limits.

Test plans and manual results

Base path: https://api.rabbitqa.com/tmt/company/api/v1

Test plans group the runs a team executes manually.

MethodPathPurpose
GET/testPlansList test plans
POST/testPlansCreate a plan
GET/testPlans/{id}Retrieve a plan
PUT/testPlans/{id}Update a plan
PUT/testPlans/{id}/archiveArchive a plan
DELETE/testPlans/{id}Delete a plan
GET/testPlans/{id}/testCasesCases in the plan
GET/testPlans/{id}/testRunsRuns under the plan
GET/testPlans/{id}/testRuns/summaryRun summary for the plan
PUT/testPlans/{id}/testRuns/{runId}Update a run
DELETE/testPlans/{id}/testRuns/{runId}Delete a run

Results

MethodPathPurpose
GET/testResultsList results
POST/testResults/searchSearch with a filter body
POST/testResultsRecord a result
PUT/testResultsUpdate a result
PUT/testResults/batchUpdate several results
GET/testResults/{testResultId}Retrieve one
PUT/testResults/{testResultId}Update one
DELETE/testResults/{testResultId}Delete one
GET/testResults/{testResultId}/auditsChange history
GET/testResults/filter-optionsValues available to filter on

See also