api-testing SKILL.md skillA

api-testing from fishzjp/qa-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add fishzjp/qa-skills/api-testing@v0.9.0

Pins v0.9.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
fishzjp/qa-skills
Path
skills/api-testing/SKILL.md
Versions recorded
6
Latest version
v0.9.0, committed Sep 20, 2026
First version recorded
Sep 1, 2026
Size
12,349 bytes
Repository stars
49
License
MIT

API testing from OpenAPI/Swagger or case schemas: parameters, boundaries, auth, idempotency, concurrency, error responses, data consistency; runnable scripts; k6 handoff. Not for: Web UI flows, manual case writing. 接口级测试:参数/边界/鉴权/幂等/并发/错误响应/数据一致性,产出脚本与结果;含 k6 压测。不用于:Web UI、手动用例。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# API 测试(api-testing)

接口级测试——E2E 之外的另一条执行路径。

- **输入**:API 文档(OpenAPI/Swagger)、用例 Schema 中 `execution_model` 可自动化的接口用例、被测环境信息(base URL、账号/Token);性能轴(类型矩阵轴 1)移交包 `专项移交_性能_*.yaml`
- **输出(落盘)**:API 测试脚本(pytest + requests,或项目既定技术栈)+ 执行分报告 `测试报告_api_{日期}.md`(命名按 `../core/report-template.md` 头注,条目按其 §3 对齐;qa 断点判据按此文件名核收);性能承接时另产 k6 压测脚本与压测报告(`references/k6-conventions.md`)
- **边界**:Web UI 流程 → `automated-e2e-testing`;接口手动用例设计 → `test-case-writing`

## When to Use

- 给定 OpenAPI/Swagger 文档,需要产出并运行接口自动化测试
- 从用例 Schema 中筛出接口级可自动化用例,转换为 API 脚本执行
- 需要覆盖鉴权/越权、幂等、并发写、错误响应等接口层专项
- 给定性能移交包或接口清单,需要生成并运行压测脚本(k6)——按 `references/k6-conventions.md`

## When NOT to Use

- Web UI 交互流程(点击 / 页面状态)→ `automated-e2e-testing`
- 编写接口的手动测试用例 → `test-case-writing`
- 端到端流水线 → `qa` 编排
- 独立压测环境搭建与容量保障 → 运维/专项协作(agent 侧压测承接见 `references/k6-conventions.md`;外部执行场景按 `test-strategy` 的移交包)
- Mock Server 搭建 → 开发协作事项,不在本 skill 范围

## 脚手架(默认 pytest + requests,可替换为项目既定栈)

```text
api-tests/
├── conftest.py            # fixture:base_url、会话/Token、环境配置(环境变量注入,可由 .env 加载,不硬编码)
├── common/
│   └── client.py          # 统一请求封装:日志、超时、鉴权头、断言辅助
├── test_{模块}_{接口}.py   # 一个接口一个文件,test 名沿用 TC 编号
└── requirements.txt
```

```python
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add fishzjp/qa-skills/api-testing@sha256:0c287b1b71c073f0

The line at the top of this page pins the label v0.9.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ivhnl4pudtevi3jt.svg)](https://markdownregistry.com/a/art_ivhnl4pudtevi3jt)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between Sep 1, 2026 and Sep 20, 2026, about one every 4 days.

versioncommittedcommitsizeaudit
v0.9.0 latest2026-09-20 21f92dc 12,349 BA view · diff
v0.8.12026-09-07 5dd8179 12,349 BA view · diff
v0.8.02026-09-07 405281b 12,347 BA view · diff
v0.7.02026-09-07 fbf4036 12,382 BA view · diff
v0.7.02026-09-03 e842af3 12,293 BA view · diff
v0.7.02026-09-01 bd5597a 11,822 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (12349 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

fishzjp/qa-skills · 49 stars · license MIT · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ivhnl4pudtevi3jt
GET https://markdownregistry.com/api/v1/resolve?ref=fishzjp/qa-skills/api-testing
GET https://markdownregistry.com/api/v1/blob/0c287b1b71c073f0b0d2cebab03167ac23cdd347ece0798d21f56ef620828d91

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from fishzjp/qa-skills

AGENTS.md AGENTS.md file
fishzjp/qa-skills · AGENTS.md
git:20260907.afaa7aa · audit A · 49 stars
llms.txt llms.txt file
fishzjp/qa-skills · llms.txt
git:20261021.f34e82d · audit A · 49 stars
automated-e2e-testing SKILL.md skill
fishzjp/qa-skills · skills/automated-e2e-testing/SKILL.md · Turn manual cases into Playwright E2E automation run in a browser: page objects, helpers, bug evidence, reports. Not…
v0.9.0 · audit A · 49 stars
bug-analysis SKILL.md skill
fishzjp/qa-skills · skills/bug-analysis/SKILL.md · 对已确认的 Bug 做根因定位、影响分析、回归建议时使用——复现 → 读代码定位根因 → 影响五面分析 → 回归建议,条目(根因/影响/Severity 依据/修复建议/回归建议五个扩展字段)落盘为 Bug 条目。不用于:仅收集 Bug…
v0.9.0 · audit A · 49 stars
core SKILL.md skill
fishzjp/qa-skills · skills/core/SKILL.md · qa-skills shared knowledge base — dependency, NOT triggerable: executability standards, evidence grading, risk model…
v0.9.0 · audit A · 49 stars
exploratory-testing SKILL.md skill
fishzjp/qa-skills · skills/exploratory-testing/SKILL.md · Exploratory testing sessions when requirements are vague or docs are missing — charter-driven; outputs system…
v0.9.0 · audit A · 49 stars
qa-memory SKILL.md skill
fishzjp/qa-skills · skills/qa-memory/SKILL.md · Maintain the .qa/ knowledge base of cross-session QA knowledge (quirks, flaky verdicts, defect patterns, contract…
v0.9.0 · audit A · 49 stars
qa SKILL.md skill
fishzjp/qa-skills · skills/qa/SKILL.md · End-to-end QA entry: "test this feature fully" orchestrates requirements, strategy, cases, review, execution, bugs…
v0.9.0 · audit A · 49 stars
regression-testing SKILL.md skill
fishzjp/qa-skills · skills/regression-testing/SKILL.md · After a code change (diff/fix/requirement change), decide what to regression-test: changed files → functions → features…
v0.9.0 · audit A · 49 stars
requirement-analysis SKILL.md skill
fishzjp/qa-skills · skills/requirement-analysis/SKILL.md · Model a requirement/system: extract goals, scope, roles, rules, exceptions, dependencies from PRD, docs, bugs, code…
v0.9.0 · audit A · 49 stars
test-case-review SKILL.md skill
fishzjp/qa-skills · skills/test-case-review/SKILL.md · Review existing test cases (legacy, others', AI) for coverage and executability: build a testable-points baseline…
v0.9.0 · audit A · 49 stars
test-case-writing SKILL.md skill
fishzjp/qa-skills · skills/test-case-writing/SKILL.md · Write manual test cases (markmap) from docs, bugs or code — code-first: review code for bugs first; extracts…
v0.9.0 · audit A · 49 stars

Every file in fishzjp/qa-skills

Other files named api-testing

api-testing SKILL.md skill
naodeng/awesome-qa-skills · skills/en/testing-types/api-testing/SKILL.md · Use this skill when you need to design API test plans or cases for REST, GraphQL, or gRPC interfaces; triggers include…
git:20261011.7d9502b · audit A · 279 stars
api-testing SKILL.md skill
naodeng/awesome-qa-skills · skills/zh/testing-types/api-testing/SKILL.md · Use this skill when you need to design API test plans or cases for REST, GraphQL, or gRPC interfaces; triggers include…
git:20260803.f52f41e · audit A · 279 stars
api-testing SKILL.md skill
secondsky/claude-skills · plugins/api-testing/skills/api-testing/SKILL.md · HTTP API testing for TypeScript (Supertest) and Python (httpx, pytest). Test REST APIs, GraphQL, request/response…
git:20260402.75421fa · audit A · 233 stars
api-testing SKILL.md skill
petrkindlmann/qa-skills · skills/api-testing/SKILL.md · Test REST and GraphQL APIs with Playwright APIRequestContext, Supertest, or standalone HTTP clients. Covers schema…
v2.1 · audit A · 198 stars
api-testing SKILL.md skill
event4u-app/agent-config · src/skills/api-testing/SKILL.md · Use when writing API endpoint tests — integration tests, contract validation, response assertions, mocked external…
git:20261002.a3c8393 · audit A · 12 stars
api-testing SKILL.md skill
int2t05/engineering-skills · skills/06-test/api-testing/SKILL.md · Verify API contracts against a real controlled service. Triggers on "test API", "API 测试".
git:20261015.f440cbb · audit A · 3 stars

Browse by kind, by grade A, or by owner.