automating-api-testing
Skill by jeremylongshore
Generates and runs API endpoint tests for REST and GraphQL APIs, covering requests, response validation, and coverage. It is aimed at developers who need to test API contracts or check endpoint reliability.
Install automating-api-testing
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/automating-api-testing ~/.claude/skills/automating-api-testingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/automating-api-testing ~/.gemini/antigravity-cli/skills/automating-api-testingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install automating-api-testing in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill automates API endpoint testing for REST and GraphQL APIs. It reads an OpenAPI specification or GraphQL schema, catalogs the endpoints and their authentication needs, and generates test cases for success paths, validation errors, authentication, not found responses, and idempotency. It also checks response content types, schemas, headers, and pagination metadata.
The skill supports Supertest (Node.js), REST-assured (Java), httpx and pytest (Python), and Postman/Newman collections, with Pact mentioned for consumer-driven contract testing. It writes test files to tests/api/, produces a coverage matrix and schema compliance report, and can add a CI step that runs tests against staging. It is intended for developers who want to test API contracts and endpoint behavior.
Written from the project's SKILL.md and checked against it.
What it can do
- Endpoint catalogParses an OpenAPI spec or introspects a GraphQL schema to list endpoints and authentication needs.
- Test case generationCreates success, validation error, authentication, not found, and idempotency tests for each endpoint.
- Response validationChecks Content-Type, body against the response schema, headers, and pagination metadata.
- CRUD lifecycle testsCovers create, read, update, and delete for resource endpoints and checks the results.
- Edge case testingTests oversized payloads, unsupported Content-Types, rate limiting, and error format consistency.
- GraphQL testsChecks query data shapes, error messages, query depth limits, and mutation input validation.
- Coverage reportMaps endpoints to test cases and produces an endpoint coverage matrix.
What you need
- An API testing library such as Supertest, REST-assured, httpx, or Postman/Newman
- An OpenAPI/Swagger or GraphQL SDL specification file
- A target API running in a test environment with seeded data
- Credentials or API keys for protected endpoints
- A JSON Schema validator such as Ajv or jsonschema
Try asking
- Test the API using the OpenAPI spec in this repository
- Generate API tests for the products endpoints with auth cases
- Validate the API contracts and report which endpoints are untested
Good to know
- Requires a running target API in a test environment with seeded data.
- Rate limit tests can trigger real limits, so the skill suggests running tests serially.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/automating-api-testing/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditGrepGlobBash(test:api-*)
-
SKILL.md7 KB -
assets/README.md389 B -
assets/example_graphql_schema.graphql2 KB -
assets/example_openapi.yaml5 KB -
assets/test_suite_template.js4 KB
Show all 8 files
-
references/README.md62 B -
scripts/README.md440 B -
scripts/generate_test_suite.py4 KB
Alternatives to automating-api-testing
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
automating-api-testing: common questions
What API types does this skill test?
The source says it covers REST and GraphQL APIs, including request generation, response validation, and schema compliance.
Which test frameworks does it support?
The source lists Supertest for Node.js, REST-assured for Java, httpx and pytest for Python, and Postman/Newman collections. It also mentions Pact for consumer-driven contract testing.
What output does it produce?
The source describes API test files in tests/api/, request and response examples, a schema compliance report per endpoint, an endpoint coverage matrix, and a CI pipeline step.
How do I install automating-api-testing?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is automating-api-testing free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is automating-api-testing safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to automating-api-testing?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
