Api Testing Patterns
Comprehensive API test patterns covering contract, component, and integration levels with agent-assisted validation.
- CCM score
- 49 of 100
- skills.sh installs
- 634
- GitHub stars
- 537
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers contract testing with Pact, REST CRUD flows, and GraphQL query validation, with tool picks for each level
- Includes test scenarios for auth (401/403), input validation (400), error handling (500), idempotency keys, and race conditions
- Enforces consumer-perspective testing that checks schema shape rather than exact values or field order
- Designed for teams testing microservice contracts or planning API test strategy, with optional agents for spec-driven generation
Install
$ npx -y skills add proffesor-for-testing/agentic-qe --skill api-testing-patterns -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
API Testing Patterns
<default_to_action> When testing APIs or designing API test strategy:
- IDENTIFY testing level: contract, integration, or component
- TEST the contract, not implementation (consumer perspective)
- VALIDATE auth, input, errors, idempotency, concurrency
- AUTOMATE in CI/CD with schema validation
- MONITOR production APIs for contract drift
Quick Pattern Selection:
- Microservices → Consumer-driven contracts (Pact)
- REST APIs → CRUD + pagination + filtering tests
- GraphQL → Query validation + complexity limits
- External deps → Mock with component testing
- Performance → Load test critical endpoints
Critical Success Factors:
- APIs are contracts - test from consumer perspective
- Always test error scenarios, not just happy paths
- Version your API tests to prevent breaking changes </default_to_action>
Quick Reference Card
When to Use
- Testing REST or GraphQL APIs
- Validating microservice contracts
- Designing API test strategies
- Preventing breaking API changes
Details
- Repository
- github.com/proffesor-for-testing/agentic-qe
- Categories
- Testing & QA, Backend & APIs
- First seen
- Jun 3, 2026
More from proffesor-for-testing/agentic-qe
All 13Similar to Api Testing Patterns
More Testing & QAapi-contract-testingaj-geddes/useful-ai-prompts935 installsContract testing guide for consumer-driven Pact tests, OpenAPI and JSON Schema validation, and breaking-change prevention.
api-testerlaolaoshiren/claude-code-skills-zh927 starsAPI test generation and execution that grounds each case in OpenAPI specs, routes, and existing tests.
contract-testing-builderpatricio0312rev/skills267 installsConsumer-driven contract testing with Pact and OpenAPI validation to catch breaking API changes early.
api-test-suite-builderalirezarezvani/claude-skills694 installsGenerates API, integration, and contract test suites from route definitions covering auth, validation, and errors.
agent-dev-backend-apiruvnet/ruflo1.1K installsBackend API developer agent with self-learning that designs, implements, and tests REST and GraphQL endpoints.