api-test

Validate REST and GraphQL APIs by testing endpoints, schemas, and contracts.

4|1|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/nntan90/qa-skill-suite --skill api-test-nntan90
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-test
Source: https://github.com/nntan90/qa-skill-suite/tree/main/api-test
Command: npx skills add https://github.com/nntan90/qa-skill-suite --skill api-test-nntan90

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Validates REST and GraphQL APIs by testing endpoints, schemas, and contracts to prevent breaking changes across services.

Core Features & Use Cases

  • API endpoint testing for REST and GraphQL, including schema validation and contract checks.
  • RBAC/IDOR and authentication flow testing with database interactions.
  • End-to-end test patterns across unit, integration, and e2e levels, including error handling scenarios.

Quick Start

Run a basic REST or GraphQL test against a sample endpoint to verify response structure and error handling.

Frequently Asked Questions about api-test

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

FAQPage Schema
How do I test REST and GraphQL APIs to prevent breaking changes?

Validate REST and GraphQL APIs by testing endpoints, schemas, and contracts to prevent breaking changes across services. This involves verifying response structures, error handling, and database interactions using deterministic test definitions across unit, integration, and end-to-end levels.

What is the best way to test RBAC and IDOR vulnerabilities in API authentication flows?

Testing RBAC and IDOR vulnerabilities in API authentication flows requires validating endpoint access controls alongside database interactions. By checking role-based permissions and verifying database state, you ensure authorization rules prevent unauthorized data access.

Does contract testing work for both REST and GraphQL schema validation?

Contract testing works for both REST and GraphQL schema validation by verifying that endpoints adhere to defined schemas and contracts. This prevents breaking changes across services by ensuring response structures and error handling scenarios meet deterministic test definitions.

How do I validate database interactions during end-to-end API testing?

Validate database interactions during end-to-end API testing by executing endpoint requests and performing optional DB state verification. This confirms that API operations correctly persist or modify data according to deterministic test definitions and error handling scenarios.

When do I need schema validation for API endpoints?

Schema validation for API endpoints is needed when you must prevent breaking changes across services. It ensures REST and GraphQL responses adhere to expected structures, covering error handling scenarios and mobile patterns across unit, integration, and e2e tests.

Can I test mobile patterns using API contract testing?

You can test mobile patterns using API contract testing by validating REST and GraphQL endpoints against defined schemas. This ensures mobile applications receive consistent data structures and proper error handling across unit, integration, and end-to-end testing levels.