Keploy is an open-source framework for recording real application behavior and automatically generating integration and API tests. It helps developers capture test cases from actual runtime interactions with databases, APIs, and services, reducing manual test maintenance and improving CI/CD reliability.
Key Highlights
No code changes
Just run your app with
keploy record. Real API + integration flows are automatically captured as tests and mocks. (Keploy uses eBPF under the hood to capture traffic, so you don’t need to add any SDKs or modify code.)
Record and Replay complex Flows
Keploy can record and replay complex, distributed API flows as mocks and stubs. It’s like having a very light-weight time machine for your tests—saving you tons of time!
Complete Infra‑Virtualization (beyond HTTP mocks)
Unlike tools that only mock HTTP endpoints, Keploy records databases (Postgres, MySQL, MongoDB), streaming/queues (Kafka, RabbitMQ), external APIs, and more.
It replays them deterministically so you can run tests without re‑provisioning infra.
Combined Test Coverage
If you’re a developer, you probably care about statement and branch coverage — Keploy calculates that for you.
If you’re a QA, you focus more on API schema and business use‑case coverage — Keploy calculates that too. This way coverage isn’t subjective anymore.
Expand API Coverage using AI
Keploy uses existing recordings, Swagger/OpenAPI Schema to find: boundary values, missing/extra fields, wrong types, out‑of‑order sequences, retries/timeouts.
This helps expand API Schema, Statement, and Branch Coverage.
Other Capabilities
CI/CD Integration: Run tests with mocks anywhere you like—locally on the CLI, in your CI pipeline (Jenkins, Github Actions..) , or even across a Kubernetes cluster.
Multi-Purpose Mocks: You can also use Keploy-generated Mocks, as server Tests!
Reporting: Unified reports for API, integration, unit, and e2e coverage with insights directly in your CI or PRs.
Console: A developer-friendly console to view, manage, and debug recorded tests and mocks.
Time Freezing: Deterministically replay tests by freezing system time during execution.
Mock Registry: Centralized registry to manage, reuse, and version mocks across teams and environments.


