Tests

Validate a test script

Changed on

Check script syntax, size and statement limits, and Playwright or k6 compatibility. Validation provides submission feedback, not a runtime security boundary.

post/api/validate-script

Request

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

Request body

scriptstring required

Test script content to validate

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

Optional expected test type used for script/type compatibility checks

Response

Script is valid

validtrue
messagestring
warningsstring[]

Changes