autorenew

Updated: 2026-03-25

api-test-bruno

Basic Information

Skill Name
api-test-bruno
Author
naodeng
Use Scenario
API changes may impact contract, auth, payload, or integration behavior.
Target Users
API testers and backend-focused automation engineers.
Summary
Who should use: API testers and backend-focused automation engineers. Best used when: API changes may impact contract, auth, payload, or integration behavior. How to use: Define API matrix, run contract and behavior checks, then report defects with reproducible evidence.

Full Skill Guide

When

  • API changes may break contract, data shape, auth, or error handling.
  • Backend is ready before UI and API needs early verification.
  • Regression confidence is needed for integration and release.

What

  • Validate request/response behavior using Bruno-based API collection and scripted checks.
  • Detect contract mismatch, status-code drift, and data integrity issues.
  • Provide evidence for API readiness and downstream integration safety.

How

  1. Define API scope by endpoint criticality and business flow dependency.
  2. Prepare test matrix: happy path, validation errors, auth, idempotency, and boundary data.
  3. Execute with deterministic fixtures and environment isolation.
  4. Verify status, schema, key fields, and side effects.
  5. Log failures with reproducible request payload and correlation id.
  6. Summarize API quality with pass rate, top risks, and follow-up tests.

Reference

Positive Example (Input -> Output)

Input:

  • Endpoint: POST /orders
  • Rules: member coupon + stock lock + timeout rollback

Output:

  • Cases covering valid order, invalid coupon, insufficient stock, replay protection
  • Defect found: rollback missing when payment timeout occurs
  • Recommendation: block release until compensation path is fixed

Negative Example (Input -> Output)

Input:

  • "Test all order APIs"

Output (problem):

  • Only 200-response checks, no schema validation or negative path
  • Misses contract-breaking field type change

Limits

  • Do not test APIs without environment/data setup clarity.
  • Do not rely on status code alone for correctness.
  • Do not ignore side-effect validation for write APIs.
  • Do not hide flaky assertions caused by unstable test data.
  • Do not claim integration safety without contract verification.

Usage Guide

  1. Install and enable api-test-bruno first (use the install commands in this page).
  2. In your request, provide required context: scope, environment, timeline, and expected output format.
  3. Trigger with API context, for example: "Use api-test-bruno on /orders and /payments in staging."
  4. Provide auth/data details and ask for outputs: test matrix, assertions, and defect evidence format.
  5. Execute in two rounds: smoke first, then negative/boundary regression.

Installation

Platform

AI Tool

Quick install (one line)

Generating command...

Full script

Loading script...
Share