Tests

Create a new test with a script. Supported types: browser (Playwright), api, performance (k6), database, custom.

post/api/tests

Request

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

Request body

titlestring required
scriptstring

Test script content

type'browser' | 'api' | 'performance' | 'database' | 'custom'

Test type. Aliases accepted: playwright → browser, k6 → performance

descriptionstring
priority'low' | 'medium' | 'high'

Defaults to medium. Any other value returns 400.

Example request

{
  "title": "Homepage Load Test"
}

Response

Test created

successboolean

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • breaking

      removed the enum value critical of the request property

    • info

      added the non-success response with the status