api-testing

Generate comprehensive API tests for REST and GraphQL endpoints.

13|2|Updated Jan 22, 2023
One-click install
npx skills add https://github.com/meirm/askGPT --skill api-testing-meirm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-testing
Source: https://github.com/meirm/askGPT/tree/main/examples/skills/api-testing
Command: npx skills add https://github.com/meirm/askGPT --skill api-testing-meirm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps generate comprehensive API tests for REST and GraphQL services, ensuring endpoint correctness, response validation, and reliable integrations.

Core Features & Use Cases

  • Endpoint Coverage: Tests all HTTP methods (GET, POST, PUT, PATCH, DELETE) and edge cases.
  • Validation & Security: Verifies request/response schemas, auth, and error handling.
  • Integration Testing: Validates end-to-end workflows across services.

Quick Start

Create a test suite for the /api/users endpoint with a sample payload and assertions.

Frequently Asked Questions about api-testing

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

FAQPage Schema
How do I generate API tests for REST and GraphQL endpoints?

Generate API tests by defining your endpoint specifications, request payloads, and expected response schemas. The Skill creates comprehensive test suites covering HTTP methods, authentication, edge cases, and error responses with built-in assertions for status codes and response validation.

Can I automate testing for multiple HTTP methods and edge cases?

Yes. Automated API testing covers all HTTP methods—GET, POST, PUT, PATCH, DELETE—plus edge cases, error handling, and authentication scenarios. The Skill generates structured test suites with data-driven test cases and fixtures for setup and teardown.

What does API test generation validate?

API test generation validates request and response schemas, HTTP status codes, authentication mechanisms, error handling, integration workflows across services, and external service interactions. It ensures endpoint correctness and reliable integrations through comprehensive coverage.

How do I test API integrations and dependencies?

Integration testing validates end-to-end workflows across multiple services. The Skill mocks external dependencies and generates assertions that verify both individual endpoint behavior and cross-service interactions, ensuring reliable system integration.

Do I need to write test assertions manually?

No. The Skill generates test suites with built-in assertions on status codes and response schemas. You define your API specification and expected behaviors; it produces ready-to-execute fixtures and data-driven test cases with comprehensive validation logic.