Skip to content

Negative Testing

Scenario-focused guides for generating negative test cases from OpenAPI specs.

Start here:

Each scenario guide includes:

  • A minimal OpenAPI snippet for the scenario
  • Inspected test case output
  • Fixture-backed output excerpts (real test case names)
  • Expected status code explanation

Parameter Validation

  • Path Parameters - Tests for invalid path parameter values (pattern violations, wrong formats)
  • Query Parameters - Tests for missing required parameters and invalid query values
  • Header Parameters - Tests for missing required headers and security header validation

Request Body Validation

Targeted Generation

Use Include Operations to generate tests only for specific paths and methods.