Api Contract Tester

    by Samuel Rose

    3

    Turn OpenAPI specs into exhaustive, framework-ready test suites covering happy paths, edge cases, and security gaps.

    Secure checkout via Stripe

    3 installsSecurity scanned

    Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurfMManus+14 more

    See it in action

    You say

    I need to test the user registration endpoint at /v1/users. Can you generate some Jest tests to validate the request body, specifically focusing on email validation errors?

    Your agent does

    "test_user_registration_invalid_email": it("returns 422 when email is missing '@'", async () => { const res = await request(app).post("/v1/users").send({ email: "bad-email" }); expect(res.status).toBe(422); expect(res.body.errors).toContainEqual(expect.objectContaining({ field: "email" })); });

    What you get

    Generate framework-ready test suites from OpenAPI specificationsIdentify boundary conditions and off-by-one errors in API endpointsDetect authentication vulnerabilities and security gaps in contract logicVerify schema compliance against production-ready regression suites

    About this skill

    Exhaustive API Contract & Regression Testing

    Transform your OpenAPI specs or Postman collections into professional-grade test suites. Unlike basic tools that only check for "200 OK" responses, this skill acts as a senior quality engineer to probe the boundaries of your API. It identifies off-by-one errors, authentication vulnerabilities, and schema mismatches before they reach production.

    What it does

    • Parse & Analyze: Extracts endpoints, schemas, and constraints from OpenAPI/Swagger, Postman, or raw code.
    • Constraint Testing: Generates tests for min/max values, regex patterns, and enum boundaries.
    • Security First: Automatically builds suites for missing tokens, malformed JWTs, and unauthorized cross-user access.
    • Robust Validation: Checks for breaking changes between versions, including field removals and type shifts.
    • Framework Flexibility: Generates code for Jest, Pytest, Vitest, Playwright, or curl scripts.

    Why use this skill

    Writing comprehensive API tests is tedious and manual. This skill automates the creation of "the tests developers forget"—such as testing rate-limit headers, pagination boundaries, and SQL injection strings. It ensures consistent error response formats and prevents internal stack traces from leaking to users. The result is a production-ready test suite with a detailed coverage report across 10 distinct categories.

    Supported Outputs

    • JavaScript/TypeScript: Jest, Vitest, Supertest, Playwright.
    • Python: Pytest with requests or httpx.
    • DevOps: Shell scripts using curl with assertions.
    • Reporting: Markdown-based coverage reports across happy paths, auth, and edge cases.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    3 installs

    Downloaded by developers to date

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 4 months ago

    Installs3
    Listed4 months ago

    Creator

    Founder of Agensi

    Frequently Asked Questions

    Popular in Testing & QA