Tests

Execute a single test immediately. Creates a run and enqueues the test for execution. For k6 performance tests, an optional location can target an enabled location code or global for unrestricted any-worker routing.

post/api/tests/{id}/execute

Request

  • Base URL
    https://demo.supercheck.dev
  • Auth
    HTTP bearer

Request body

locationstring

Execution location for k6 performance tests. Use an enabled location code (for example us-east) or global for unrestricted any-worker routing. global is rejected when project location restrictions are enabled.

Response

Test execution started

runIdstring uuid
status'running' | 'queued'
positioninteger

Queue position when the test is queued; omitted when it starts immediately.

testType'browser' | 'api' | 'performance' | 'database' | 'custom'
locationstring

Resolved execution location for performance tests; omitted for other test types.

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status