APITestka Documentation
A lightweight, cross-platform framework for automated API testing. What started as an HTTP/HTTPS / SOAP-XML / JSON request runner now ships with variable chaining, OpenAPI / Postman / HAR / cURL importers, a record-replay proxy, security probes, parallel runners, an MCP server for Claude, and more.
Features
Category |
Details |
|---|---|
Backends |
|
Data layer |
Variable store, |
Assertions |
Field assertions, JSON Schema, JSONPath, snapshot, structural diffs, OpenAPI contract drift, response-time SLAs |
Connection |
mTLS, proxies, DNS override, VCR-style cassette record/replay |
Mock server |
Static, dynamic, stateful, fault injection, OpenAPI-driven, Jinja templating, webhook receiver, record-replay proxy |
Runner |
Sequential & parallel execution, tag filters, dependency-aware ordering, retry policies |
Reports |
HTML / JSON / XML / JUnit / Allure / Markdown / shields.io badge / SQLite trend store / run diff |
Integrations |
Slack / Teams / Discord webhook, GitHub PR comment, cURL & HAR importers, OpenAPI / Postman importer |
CLI / DX |
Subcommand CLI, REPL, terminal summary, shell completion, scaffold |
Security |
Auth helpers (Basic / Bearer / JWT / AWS SigV4), header / CORS / rate-limit / SSRF probes, pip-audit wrapper, fuzz inputs |
Spec inference |
Test record → OpenAPI, JSON Schema inference, OpenAPI changelog |
AI |
Pluggable backend with deterministic fallback for test generation, fake data, failure classification |
MCP |
First-class Claude Code / MCP server exposing the framework as tools |
GUI |
Optional PySide6 GUI (English / 繁中 / 简中 / 日本語) plus Swagger UI embed |
Cross-Platform |
Windows, macOS, Linux. Python 3.10–3.14 |
User Guide
- Installation
- Quick Start
- Getting Started
- Extra Protocol Backends
- Data Layer
- Result Assertion
- Response Diff, Contract & SLA
- Connection Layer
- Runner
- Report Generation
- Mock Server
- Callback Executor
- Scripting with Executor
- CLI Usage
- Integrations
- Security Suite
- Remote Automation (Socket Server)
- Project Scaffolding
- Test Record
- MCP Server (Claude)