Web API Tester

Test API endpoints for correctness, edge cases, auth handling, and OpenAPI contract compliance.

majiayu000 Updated 567 repo stars

File contents

Web API Tester

Objective

Run endpoint-level testing against openapi.yaml and produce API quality coverage artifacts.

Required Workflow

  1. Read openapi.yaml from web-backend-builder.
  2. Build API collections for Bruno or Hoppscotch.
  3. Optionally generate automated tests in Vitest, Jest, or pytest.
  4. For each endpoint test:
    • happy path
    • edge cases (missing fields, invalid types, max payloads)
    • auth failures (401, 403)
    • rate limiting behavior
  5. Validate response contracts against OpenAPI using Zod (TS) or Pydantic (Python).
  6. Add frontend-backend contract tests for API call compatibility.
  7. Generate endpoint and edge-case coverage percentages.
  8. Output api-test-report.json.

Execution

python skills/web-api-tester/scripts/api_tester.py --input <workspace> --output <out.json> --format json

References

  • references/tools.md

majiayu000/claude-skill-registry-data/tree/main/testing/web-api-tester commit 2edbf3f6a2

Frequently asked questions

npx skillmds@latest add majiayu000/web-api-tester