# Web API Tester

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

- Skill: `majiayu000/web-api-tester` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/web-api-tester`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/web-api-tester/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- License: Apache-2.0
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/web-api-tester

---


# 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

```bash
python skills/web-api-tester/scripts/api_tester.py --input <workspace> --output <out.json> --format json
```

## References

- `references/tools.md`

