api-testing

Automate REST and GraphQL API validation with pytest and JSON Schema.

13|3|Updated May 12, 2026
One-click install
npx skills add https://github.com/kevinnft/ai-agent-skills --skill api-testing-kevinnft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-testing
Source: https://github.com/kevinnft/ai-agent-skills/tree/main/skills/software-development/api-testing
Command: npx skills add https://github.com/kevinnft/ai-agent-skills --skill api-testing-kevinnft

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

REST and GraphQL API testing often lacks automated validation across endpoints, responses, and contracts, leading to regressions and missed integration issues.

Core Features & Use Cases

  • End-to-end API validation: verify status codes, response schemas, and contract compliance for REST and GraphQL services.
  • CI/CD integration: plug API tests into pipelines to catch regressions early.
  • Security and performance checks: baseline response times and validate basic security constraints.

Quick Start

Run automated tests against your REST or GraphQL endpoints to ensure contracts and behaviors remain stable.

Frequently Asked Questions about api-testing

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

FAQPage Schema
How do I automate REST and GraphQL API testing in a CI/CD pipeline?

You can automate REST and GraphQL API testing by integrating Python pytest workflows into your CI/CD pipeline to validate endpoints, verify status codes, and enforce JSON Schema contracts automatically.

What is contract testing for microservices and how does it validate API behavior?

Contract testing for microservices validates that REST and GraphQL endpoints comply with expected response schemas and behaviors, ensuring integration stability. It checks status codes and JSON Schema compliance to prevent regressions.

How do I validate GraphQL endpoints and response schemas automatically?

To validate GraphQL endpoints automatically, you run automated tests that execute queries and validate the responses against defined JSON Schemas, ensuring the service behaves as expected and maintains contract compliance.

Can I perform baseline security and performance checks during API validation?

Yes, you can perform baseline security and performance checks during API validation to measure response times, verify basic security constraints, and ensure endpoints behave reliably under expected conditions.

Does this API testing approach support manual curl tests alongside automated Python pytest workflows?

Yes, this approach supports both manual curl tests for quick endpoint checks and automated Python pytest workflows for comprehensive end-to-end REST and GraphQL API validation across microservices.

When should I use automated API validation instead of manual endpoint testing?

You should use automated API validation when you need to catch regressions early in CI/CD, enforce API contracts across microservices, or perform repeated end-to-end checks that manual curl tests cannot scale to support.