AI Agent Hub
Back to skills
API Test Automation Pro icon

API Test Automation Pro

Development Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @user_b91ca78d/api-test-automation-pro.

About this skill

What Problem It Solves

Many API test setups remain fragmented: login, CRUD, pagination, OpenAPI parsing, 429 retries, Mock services, and reports each use different tools. This skill folds common API testing tasks into one keyword-driven route table, then moves through design, execution, and reporting phases. It is aimed at engineering teams that want interface tests to be repeatable, inspectable, and report-ready rather than ad hoc script runs.

How It Works

The core model is progressive routing with confirmation gates:

  • Test design: keywords such as login, registration, pagination, or CRUD route to SmartTestParser or TestAnalyzer, producing test points and use-case structure first.
  • Execution and diagnostics: RestClient and GraphQLClient handle requests; timeouts, 429, 500, and auth failures fall back to DiagnosticAnalyzer for retries, Retry-After handling, and token refresh.
  • Validation and reporting: ContractTester checks OpenAPI or JSON Schema contracts, while TestReporter generates HTML or Allure output; batch runs must end with a report.

Boundaries

  • It assumes a Python stack with Python 3.8+, requests, httpx, and pytest.
  • If keywords miss the route, fall back to references/route_table_full.md or select modules manually.
  • Performance and load tests are progressive, so default settings should not be treated as final capacity evidence.
  • For security-sensitive, production-data, or write-heavy flows, still confirm scope and output paths before running.

Use Cases

  • Before release, route login, registration, pagination, and CRUD checks into REST test cases.
  • When 429 or 500 errors appear, parse Retry-After, retry, refresh tokens, and isolate auth issues.
  • Validate OpenAPI or JSON Schema contracts, then generate HTML or Allure reports after batch runs.
  • Run progressive load and concurrency tests while switching dev, staging, or prod environment configs.

Best For

  • Backend engineers who need REST, GraphQL, and OpenAPI tests with failure retries in one workflow.
  • QA automation engineers who run CRUD, pagination, and contract checks, then export HTML or Allure reports.
  • DevOps engineers maintaining CI who need 429/500 handling, token refresh, and multi-environment config.
  • Frontend or integration engineers who mock dependent services to validate queries, mutations, or form flows.