Skip to content
Back to skills

Api Testing

ASecurity

Comprehensive API testing for REST and GraphQL endpoints with contract validation

  • 1,760 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 2, 2026
ai-agentsjavascriptjavabashnodetestingapibackendsecurityperformance

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 2, 2026

npx -y skills add a5c-ai/babysitter --skill api-testing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Testing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api Testing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/a5c-ai-api-testing-babysitter/badge)](https://www.skillsdirectory.com/skills/a5c-ai-api-testing-babysitter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: API Testing
description: Comprehensive API testing for REST and GraphQL endpoints with contract validation
allowed-tools:
  - Bash
  - Read
  - Write
  - Edit
  - Glob
  - Grep
graph:
  domains: [domain:software-engineering]
  specializations: [specialization:qa-testing-automation]
  skillAreas: [skill-area:api-contract-testing, skill-area:integration-testing]
  roles: [role:qa-engineer, role:backend-engineer]
  workflows: [workflow:feature-development]
  topics: [topic:test-driven-development]

---

# API Testing Skill

## Overview

This skill provides expert-level capabilities for API testing, covering REST, GraphQL, authentication flows, schema validation, and contract testing integration.

## Capabilities

### REST API Testing
- Execute API tests with Supertest/REST Assured
- HTTP method testing (GET, POST, PUT, PATCH, DELETE)
- Header and cookie manipulation
- File upload/download testing

### GraphQL Testing
- Query and mutation testing
- Subscription testing
- Schema introspection validation
- Variable and fragment handling

### Schema Validation
- Validate OpenAPI/Swagger schemas
- Response schema validation with Ajv/Joi
- Generate test cases from API specifications
- Contract validation

### Authentication Testing
- OAuth 2.0 flow testing
- JWT token validation
- API key authentication
- Session-based authentication

### Performance Assertions
- Response time validation
- Throughput measurements
- Rate limiting verification

### Contract Testing
- Consumer contract generation
- Provider verification
- Pact integration

## Target Processes

- `api-testing.js` - API test implementation
- `contract-testing.js` - Contract testing workflows
- `security-testing.js` - API security testing
- `performance-testing.js` - API performance validation

## Dependencies

- `supertest` - HTTP assertions (Node.js)
- `axios` - HTTP client
- `ajv` - JSON schema validation
- `graphql-request` - GraphQL client

## Usage Example

```javascript
{
  kind: 'skill',
  skill: {
    name: 'api-testing',
    context: {
      action: 'execute-tests',
      baseUrl: 'https://api.example.com',
      specPath: 'openapi.yaml',
      authType: 'bearer',
      validateSchema: true
    }
  }
}
```

## Configuration

The skill can auto-discover API specifications from OpenAPI/Swagger files and generate comprehensive test suites.

Files in this skill

  • README.md649 B
  • SKILL.md2.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.