More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    QA API Test Design Pro: Full-Coverage Tests from OpenAPI

    1

    API Test Design Pro reads your OpenAPI/Swagger spec and writes a deep suite, field by field and endpoint by endpoint, so those cases are in the file before anyone runs it.

    $6.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    QA API Test Design Pro: Full-Coverage Tests from OpenAPI

    QA API Test Design Pro: Full-Coverage Tests from OpenAPI

    Example session with this skill installed

    Design full-coverage API test cases, including security tests, for demoshop-orders-openapi.yaml (DemoShop Orders API: login, create, list, get and cancel orders). Generate the file without waiting for plan approval; I'll review it afterwards.

    • Read your context and instructions
    • Compiled the qa api test

    Source spec: ../demoshop-orders-openapi.yaml
    Generated: 2026-11-28
    Base URL: http://localhost:8790/v1
    Coverage depth: Full
    Total test cases: 161

    Summary

    ModuleEndpointsHappyValidationAuthNotFoundBoundarySecurityTotal
    Auth13102011531
    Orders425321643914130

    Test data & pre-requisites

    • {{customerEmail}} / {{customerPassword}} — fill by hand: an existing account with role customer (the main customer; rows act as this user by default).
    • {{otherCustomerEmail}} / {{otherCustomerPassword}} — fill by hand: a second, different account with role customer (used for BOLA rows).
    • {{adminEmail}} / {{adminPassword}} — fill by hand: an existing account with role admin.
    • {{token}} — main customer token, produced by TC_AUTH_POST_001 (primary token; the API is customer-facing). {{customerId}} — produced by TC_AUTH_POST_001.
    • {{otherUserToken}} / {{otherCustomerId}} — produced by TC_AUTH_POST_002.
    • {{adminToken}} — produced by TC_AUTH_POST_003.
    • {{createdOrderId}} — produced by TC_ORDERS_POST_001; {{fullOrderId}} — produced by TC_ORDERS_POST_002; {{otherCustomerOrderId}} — produced by TC_ORDERS_POST_003; {{ordersBefore}} — produced by TC_ORDERS_GET_010.
    • {{paidOrderId}} — fill by hand: id of an order that belongs to the main customer and has status paid (the API has no endpoint that moves an order to paid).
    • {{expiredToken}} — fill by hand: a token of the main customer issued more than 1 hour ago (the spec says tokens are valid for 1 hour).
    • {{tamperedToken}} — fill by hand: a valid token with its payload changed and the old signature kept (only meaningful if tokens are JWT).
    • {{algNoneToken}} — fill by hand: a token re-signed with alg: none (only meaningful if tokens are JWT).
    • Seeded data: product 101 exists and can be ordered; coupon SAVE10 is valid (both are the spec's example values).
    • Setup order: log in as main customer (TC_AUTH_POST_001) → log in as the other customer (TC_AUTH_POST_002) → log in as admin (TC_AUTH_POST_003) → Orders module.

    Blocking items — resolve before running

    1. Accounts: {{customerEmail}} / {{customerPassword}}, {{otherCustomerEmail}} / {{otherCustomerPassword}}, {{adminEmail}} / {{adminPassword}} — every Orders row depends on the tokens saved by the three login rows.
    2. Seeded data: product 101 and coupon SAVE10 must exist (all create rows use them).
    3. {{paidOrderId}} — an order of the main customer with status paid (TC_ORDERS_DELETE_003, TC_ORDERS_GET_051).
    4. {{expiredToken}}, {{tamperedToken}}, {{algNoneToken}} — TC_ORDERS_GET_023, TC_ORDERS_GET_024, TC_ORDERS_DELETE_006.

    Assumptions

    • Base URL: the spec lists https://api.example.com/v1 (described as production) and http://localhost:8790/v1 (local). No server is marked as a test environment and every server is local or a placeholder, so the first one without a prod / production word was chosen: the local server. No production warning (local host).
    • The session could not ask questions; the defaults of the skill were taken: run the whole spec at Full depth, no plan approval step needed (5 endpoints).
    • Statuses declared without an error schema: 401 on every operation, 403 on GET /orders/{orderId} and DELETE /orders/{orderId}. Rows with these statuses assert that the protected data is absent instead of a message.
    • DELETE /orders/{orderId} is treated as a soft delete ("Cancel (delete) an order", 204 "Cancelled", cancelled is an order status): after cancelling, the order stays readable with status=cancelled, and a second cancel is rejected with 400 "The order is not pending".
    • Status codes not declared, chosen by convention: 404 (or 400) for an unknown productId / couponCode in POST /orders; 400/404 for a malformed orderId; 413 for oversized bodies; 415 for a missing or wrong Content-Type; 405 for undeclared methods; 406 for Accept: application/xml; 403 for an admin placing an order. 409, 422 and 429 are never used because the spec does not declare them.
    • The spec does not say whether the login token is a JWT; tampered and alg: none rows are kept with [NEEDS REVIEW].
    • The spec does not say whether quantity × product price is checked; total is only asserted to be a number and not the client-sent value.

    [Excerpt. The file holds 161 rows in 5 endpoint tables; one full table is shown below; selected rows of other tables are in the gallery screenshots.]

    Module: Orders

    Endpoint: GET /orders/{orderId}

    Description: Get one order. Customers can read only their own orders; admins can read any order.
    Auth required: Yes (bearerAuth, roles: customer (own orders), admin (any order))
    Inputs: orderId — path, integer, required, min 1

    TC_IDModuleEndpointMethodTest TypePriorityPre-conditionDescriptionHeadersPath/Query ParamsRequest BodyExpected StatusExpected ResponseNotes
    TC_ORDERS_GET_037Orders/orders/{orderId}GETHappyP1Order {{createdOrderId}} created by TC_ORDERS_POST_001Customer reads own order; stored as sent; expect 200Authorization: Bearer {{token}}orderId={{createdOrderId}}N/A200order.id="{{createdOrderId}}"; order.productId=101; order.quantity=2; order.status="pending"; order.customerId="{{customerId}}"; header Content-Type contains "application/json"[SIDE-EFFECT] Depends on TC_ORDERS_POST_001
    TC_ORDERS_GET_038Orders/orders/{orderId}GETHappyP2Order {{fullOrderId}} created by TC_ORDERS_POST_002Order created with all fields keeps its optional fields; expect 200Authorization: Bearer {{token}}orderId={{fullOrderId}}N/A200order.quantity=3; order.note="Please deliver after 5 PM"; order.couponCode="SAVE10"[SIDE-EFFECT] Depends on TC_ORDERS_POST_002
    TC_ORDERS_GET_039Orders/orders/{orderId}GETHappyP1{{adminToken}}; order {{otherCustomerOrderId}} from TC_ORDERS_POST_003Admin reads another customer's order; expect 200Authorization: Bearer {{adminToken}}orderId={{otherCustomerOrderId}}N/A200order.id="{{otherCustomerOrderId}}"; order.customerId="{{otherCustomerId}}"Business rule: admins can read any order
    TC_ORDERS_GET_040Orders/orders/{orderId}GETAuthP1{{token}}; order {{otherCustomerOrderId}} belongs to the other customerBOLA: customer reads another customer's order; expect 403Authorization: Bearer {{token}}orderId={{otherCustomerOrderId}}N/A403order not present in responseN/A
    TC_ORDERS_GET_041Orders/orders/{orderId}GETAuthP1NoneRead an order without Authorization header; expect 401N/AorderId={{createdOrderId}}N/A401order not present in responseN/A
    TC_ORDERS_GET_042Orders/orders/{orderId}GETAuthP1NoneRead an order with an invalid token; expect 401Authorization: Bearer invalid_token_xyzorderId={{createdOrderId}}N/A401order not present in responseN/A
    TC_ORDERS_GET_043Orders/orders/{orderId}GETNotFoundP1{{token}}Read an order id that does not exist; expect 404Authorization: Bearer {{token}}orderId=99999999N/A404error (string); order not present in responseN/A
    TC_ORDERS_GET_044Orders/orders/{orderId}GETValidationP2{{token}}'orderId' not a number; expect 400 or 404Authorization: Bearer {{token}}orderId=abcN/A400/404order not present in response [NEEDS REVIEW: status 400 not declared for this operation]N/A
    TC_ORDERS_GET_045Orders/orders/{orderId}GETBoundaryP2{{token}}'orderId' 0 (min 1); expect 400 or 404Authorization: Bearer {{token}}orderId=0N/A400/404order not present in response [NEEDS REVIEW: status 400 not declared for this operation]N/A
    TC_ORDERS_GET_046Orders/orders/{orderId}GETBoundaryP2{{token}}'orderId' -1; expect 400 or 404Authorization: Bearer {{token}}orderId=-1N/A400/404order not present in response [NEEDS REVIEW: status 400 not declared for this operation]N/A
    TC_ORDERS_GET_047Orders/orders/{orderId}GETBoundaryP3{{token}}'orderId' decimal 1.5; expect 400 or 404Authorization: Bearer {{token}}orderId=1.5N/A400/404order not present in response [NEEDS REVIEW: status 400 not declared for this operation]N/A
    TC_ORDERS_GET_048Orders/orders/{orderId}GETBoundaryP3{{token}}'orderId' int32 max + 1; expect 400 or 404, never 500Authorization: Bearer {{token}}orderId=2147483648N/A400/404order not present in response [NEEDS REVIEW: no maximum declared for orderId]N/A
    TC_ORDERS_GET_049Orders/orders/{orderId}GETSecurityP2{{token}}SQL injection in the order id; expect 400 or 404 without a DB errorAuthorization: Bearer {{token}}orderId=1 OR 1=1N/A400/404no SQL error leaked; order not present in response [NEEDS REVIEW: status 400 not declared for this operation]N/A
    TC_ORDERS_GET_050Orders/orders/{orderId}GETHappyP1TC_ORDERS_DELETE_001 cancelled {{createdOrderId}}Cancelled order stays readable with status cancelled; expect 200Authorization: Bearer {{token}}orderId={{createdOrderId}}N/A200order.status="cancelled" [NEEDS REVIEW: soft delete assumed — confirm the order is not removed (404)][SIDE-EFFECT] Depends on TC_ORDERS_DELETE_001 [ORDER: run after TC_ORDERS_DELETE_001]
    TC_ORDERS_GET_051Orders/orders/{orderId}GETHappyP2TC_ORDERS_DELETE_003 was rejectedThe paid order is still paid after the rejected cancel; expect 200Authorization: Bearer {{token}}orderId={{paidOrderId}}N/A200order.status="paid"[SIDE-EFFECT] Verifies TC_ORDERS_DELETE_003 [ORDER: run after TC_ORDERS_DELETE_003]
    TC_ORDERS_GET_052Orders/orders/{orderId}GETHappyP2TC_ORDERS_DELETE_004 to TC_ORDERS_DELETE_006 were rejectedThe order is still pending after the unauthenticated cancels; expect 200Authorization: Bearer {{token}}orderId={{fullOrderId}}N/A200order.status="pending"[SIDE-EFFECT] Verifies TC_ORDERS_DELETE_004, TC_ORDERS_DELETE_005, TC_ORDERS_DELETE_006 [ORDER: run after TC_ORDERS_DELETE_006]
    TC_ORDERS_GET_053Orders/orders/{orderId}GETHappyP2TC_ORDERS_DELETE_007 was rejectedThe other customer's order is still pending after the BOLA cancel; expect 200Authorization: Bearer {{otherUserToken}}orderId={{otherCustomerOrderId}}N/A200order.status="pending"[SIDE-EFFECT] Verifies TC_ORDERS_DELETE_007 [ORDER: run after TC_ORDERS_DELETE_007]

    [Tables for POST /auth/login (31 rows), POST /orders (61), GET /orders (39) and DELETE /orders/{orderId} (13) and the Coverage matrix are omitted here.]

    Not covered

    • 409, 422 and 429 are not declared in the spec: duplicate / state conflicts use 400, and login brute-force / rate limiting (API2) is not tested because no 429 is declared.
    • Login: uppercase email and case-changed password for the fill-by-hand accounts — would need extra fill-by-hand variables ({{customerEmailUppercase}}, {{customerPasswordCaseChanged}}); left out to keep setup small.
    • Login: "same error for wrong email and wrong password" (no user enumeration) needs a comparison across two rows — compare TC_AUTH_POST_013 and TC_AUTH_POST_014 by hand.
    • Login: [] body, no body and wrong Content-Type — covered by TC_ORDERS_POST_020, TC_ORDERS_POST_021, TC_ORDERS_POST_022 (D1, body handling tested on the main create endpoint). Mass assignment / privilege escalation does not apply (no role-like field in the login body).
    • Token variants (no token, wrong scheme, expired, tampered) on endpoints other than GET /orders — covered by TC_ORDERS_GET_019 to TC_ORDERS_GET_024 (D1); other endpoints keep the no-header and invalid-token smoke rows.
    • Token of a deleted / deactivated user, token issued before a password change or logout — the API has no user-delete, password-change or logout endpoint.
    • note wrong type (optional free text, D6). NoSQL operator objects in couponCode — covered by TC_AUTH_POST_028 (D8, one type-confusion row per API). Oversized payloads on other endpoints (D7: login + main create only).
    • productId "deleted earlier in the run" — the API has no product endpoints.
    • status filter values paid and shipped — descriptive enum; pending (TC_ORDERS_GET_006) and cancelled (TC_ORDERS_GET_012) cover the filter.
    • orderId exactly at the minimum (1) — the owner of order 1 is unknown in the seed data.
    • total correctness (price × quantity, coupon discount) — the spec gives no prices or discount rules.
    • Location header value — only its presence is asserted (TC_ORDERS_POST_001); the spec does not define the URL format.
    • 403 role matrix: no role is denied any operation by the spec; whether an admin may place an order is TC_ORDERS_POST_004.
    • XXE / XML bodies, file uploads, URL fields, header injection — the API has none of these inputs. ETag / 304 — no ETag declared.
    • Runtime concerns: concurrent cancels of the same order, double-submit of the same order, load — not informed by the spec.

    Checker report (…-coverage-report.md, written by the bundled script; Totals and Operation coverage):

    • Verdict: PASS

    Totals

    • Rows: 161
    • By Test Type: Happy 28, Validation 42, Auth 18, NotFound 4, Boundary 50, Security 19
    • By Priority: P1 42, P2 82, P3 37
    • Rows with [NEEDS REVIEW]: 47
    • Operations with a Happy row: 5/5 (100%)
    • Operations without gaps: 5/5 (100%)

    Operation coverage

    OperationRowsHappyValidationAuthNotFoundBoundarySecurityGaps
    POST /auth/login303920115—
    GET /orders361276083—
    POST /orders6141832259—
    GET /orders/{orderId}17713141—
    DELETE /orders/{orderId}12234120—

    Rows for a method the spec does not declare on the path (405 / HEAD / OPTIONS checks): 5 (TC_AUTH_GET_001, TC_ORDERS_HEAD_001, TC_ORDERS_OPTIONS_001, TC_ORDERS_PUT_001, TC_ORDERS_PATCH_001) — counted in the totals and the Summary table, not in this table.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    A basic API test set catches typos in validation. The bugs that reach production are usually elsewhere: a customer who can read someone else's order, a page-size default that is never applied, an unknown coupon code that is silently accepted. API Test Design Pro reads your OpenAPI/Swagger spec and writes a deep suite, field by field and endpoint by endpoint, so those cases are in the file before anyone runs it.

    What it does

    • Reads OpenAPI 3.x or Swagger 2.0 (JSON or YAML, file, URL or pasted) and builds a field inventory per endpoint: type, format, required/nullable, limits, defaults, readOnly/writeOnly, roles, business rules in descriptions, which statuses declare an error schema.
    • Applies fixed coverage matrices to every input and endpoint, then removes duplicates by documented rules: Happy (incl. defaults and roles), Validation, Auth (missing, invalid, expired, tampered and alg:none tokens, 403 per denied role, BOLA), NotFound, Boundary (exactly at each limit, exploratory rows where the spec declares none; just-outside values are Validation rows) and Security (SQL/NoSQL injection, XSS, template injection, SSRF and path traversal where the field allows it, mass assignment, privilege escalation, oversized and malformed bodies, mapped to the OWASP API Top 10).
    • Checks behavior, not just status codes: side-effect rows (the order is still pending after a rejected cancel, the cancelled order reads as cancelled), business rules from the spec's descriptions, HTTP-level rows (405 for undeclared methods, 415, HEAD/OPTIONS).
    • Writes machine-readable expectations: Expected Responses are written as assertion clauses wherever a clause can hold (`order.status`="pending", `order` not present in response, no SQL error leaked, header checks), and tokens and ids are chained with Save … as {{var}}, so a converter can turn each row into a request with real assertions.
    • Never invents: no made-up endpoints, fields or response schemas. Where the spec declares no limit it uses conventional exploratory values, and undeclared statuses use the convention; both are flagged [NEEDS REVIEW]. Questions the spec leaves open become probe rows marked for review.
    • Checks itself with a bundled script: cell counts, duplicate IDs, valid Test Type and Priority values, variables used but never produced, Summary totals, endpoints not in the spec, and per-operation gaps (no Happy, Auth, NotFound, Validation or Security row), with a verdict (PASS / CONDITIONAL / FAIL) and a coverage report you can attach to a review.
    • Plans first on large APIs: more than 5 endpoints → a coverage plan per endpoint for you to approve before it writes (unless you tell it to go ahead).

    Why use this skill

    Asking an agent to "write API tests" gives a different set every run, guessed fields and expectations that assert nothing. This skill follows the same matrices every time, takes its data and limits from the spec, and hands you one reviewable file plus a checker report that shows what is covered and what was left out on purpose, and why.

    Free Lite vs Pro

    The free QA API Test Design Lite writes the core set: happy paths, validation, declared limits, basic 401/403 and 404. Pro adds security payloads, BOLA, token variants, business rules, side-effect and HTTP-level rows and the checker script. On the same 5-endpoint demo API with 3 planted bugs: Lite wrote 55 rows and caught 1 bug; Pro wrote 161 rows and caught all 3.

    Use cases

    • Designing a full regression and security test suite for a new or changed REST API
    • Finding authorization gaps (BOLA/IDOR, role checks) before release
    • Finding spec gaps (undeclared statuses, missing limits) through rows flagged [NEEDS REVIEW]
    • Preparing a test set to run in Postman or Newman in CI
    • API test documentation with a coverage report for QA review

    Output

    Two files in test-case-api/, sharing one prefix yyyy-mm-dd_hh-mm-ss-<api-name>:

    • <prefix>.md: header (source spec, base URL, totals), Summary, test data and blocking items, Assumptions, one 14-column table per endpoint (TC_ID, Module, Endpoint, Method, Test Type, Priority, Pre-condition, Description, Headers, Path/Query Params, Request Body, Expected Status, Expected Response, Notes), a Coverage matrix per field, and Not covered with reasons
    • <prefix>-coverage-report.md: the checker's verdict, totals and per-operation coverage

    The chat reply stays short: paths, totals per Test Type, the verdict, and the blocking items (credentials, seeded ids) to fill before running. A Postman converter (available separately) can turn the file into a collection.

    Requirements

    • An OpenAPI 3.x or Swagger 2.0 spec
    • Python 3.8+ for the bundled checker (standard library only; PyYAML is used if installed). If you prefer no scripts, the agent does the checks by hand and says the verdict is unverified.

    Save with the bundle

    Buying both? The QA/QC API Testing Pro bundle has the test design skill and the Postman converter for $9.99 instead of $11.99 (bundles are bought on the website). You own each skill separately.

    Language

    Written in English; descriptions, notes, assumptions and the chat reply follow your language (English or Vietnamese). Column headers, Test Types, assertion clauses and markers stay in English so tools can parse the file.

    License

    For your personal use under the Agensi license; please do not redistribute or resell.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.

    • It needs an OpenAPI 3.x or Swagger 2.0 spec. From a plain description it asks for the spec and writes nothing.
    • It writes test cases, not runnable code; it never calls your API. To run them, convert the file (e.g. to a Postman collection) or automate them yourself.
    • Expectations follow the spec. Where the spec is silent, rows use conventions and are marked [NEEDS REVIEW], so review them before trusting a failure.
    • Credentials, seeded ids and special tokens (expired, tampered) are variables for you to fill; it never invents real-looking credentials.
    • Runtime concerns (race conditions, load, rate limits without a declared 429) are listed under "Not covered", not tested.
    • Files are long: the 5-endpoint demo has 161 rows. APIs with more than 5 endpoints get a coverage plan to approve first.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed today

    Software
    Python 3.8+

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access

    File Scopes

    test-case-api/**

    Terminal: runs one bundled Python script (standard library only) that checks the test case file for format, chaining and coverage. Read Files: the spec you point to. Write Files: the test case file and the coverage report in test-case-api/. Network: only to download a spec you give as a URL. The file contains security test payloads (SQL injection, XSS, JWT alg:none…) as test data in tables; the skill never calls your API.

    Listedtoday

    What's inside

    Frequently Asked Questions

    Yes. Ask in Vietnamese and descriptions, notes, assumptions and the chat reply are in Vietnamese. Column headers, Test Types and assertion clauses stay in English so tools can read the file.

    No test requests are sent: it reads the spec (downloading it only if you give a URL) and writes files. Security payloads such as SQL injection or XSS are written as test data in the table; nothing is sent until you run the tests yourself.

    Lite writes the core set (happy paths, validation, declared limits, 401/403, 404). Pro adds security payloads, BOLA, token variants, business rules, side-effect and HTTP-level rows, and a checker script with a coverage report. In the demo, Lite caught 1 of 3 planted bugs and Pro caught all 3.

    PASS means no format, chaining or totals problems, and every operation has the minimum rows the checker looks for (Happy, plus Auth, NotFound, Validation and Security where they apply) or is listed under "Not covered" with a reason. It does not prove the expectations are right; [NEEDS REVIEW] rows still need a human look.

    The 4th row probes a question the spec leaves open (an unknown coupon code). It is marked [NEEDS REVIEW]; the API accepted the code, which is a question for the spec owner.

    The file is designed for a converter: assertion clauses and chained variables map to Postman tests. A Postman converter is available separately; the file is also readable as plain test documentation.

    New in Testing & Debugging