role-aqa:api-testing

Automate API testing for REST and GraphQL services with SuperTest, Pact, and OpenAPI.

14|3|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/rnavarych/alpha-engineer --skill role-aqa-api-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: role-aqa:api-testing
Source: https://github.com/rnavarych/alpha-engineer/tree/main/plugins/roles/role-aqa/skills/api-testing
Command: npx skills add https://github.com/rnavarych/alpha-engineer --skill role-aqa-api-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of testing APIs, ensuring their reliability, performance, and adherence to specifications, thereby reducing integration issues and improving overall software quality.

Core Features & Use Cases

  • Automated Testing: Write and execute integration tests for REST and GraphQL APIs using popular frameworks like SuperTest, REST Assured, and httpx.
  • Contract Testing: Implement consumer-driven contract testing with Pact to ensure compatibility between services.
  • Schema Validation: Validate API responses against OpenAPI specifications or JSON Schemas.
  • Mocking: Configure mock servers (WireMock, MSW) to simulate external dependencies during testing.
  • Performance Baselines: Establish and monitor performance benchmarks for critical API endpoints.
  • Use Case: Automatically test a new user registration API endpoint, validate its response against the OpenAPI schema, and ensure it returns a 201 status code with the correct user object.

Quick Start

Use the role-aqa:api-testing skill to write integration tests for the /users endpoint using SuperTest.

Frequently Asked Questions about role-aqa:api-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate API testing and validation for REST and GraphQL services?

Automate API testing by writing integration tests with SuperTest, REST Assured, or httpx for REST and GraphQL services, validating schema and responses to reduce integration issues and improve software quality.

How do I validate API responses against an OpenAPI specification or JSON Schema?

Validate API responses against OpenAPI specifications or JSON Schemas by executing automated tests that verify endpoint outputs match defined structures, ensuring adherence to specifications and catching schema drift early.

How do I set up mock servers with WireMock and MSW for API integration testing?

Set up mock servers with WireMock and MSW to simulate external dependencies during API integration testing, allowing isolated endpoint validation without relying on live backend services or third-party systems.

Does this API testing approach support consumer-driven contract testing with Pact?

Consumer-driven contract testing is supported with Pact, ensuring compatibility between services by verifying that API providers meet consumer expectations and preventing integration failures across distributed architectures.

Can I establish performance baselines for critical API endpoints during testing?

Performance baselines for critical API endpoints can be established and monitored during testing, capturing response time benchmarks to detect latency regressions and ensure APIs meet expected performance thresholds.

How do I manage auth tokens when running automated API integration tests?

Auth token management patterns are included to handle authentication flows during automated API integration testing, ensuring secure and consistent access to protected REST and GraphQL endpoints across test suites.