Keploy captures API calls, database queries, and streaming events, then replays them as tests and dependency mocks without changing application code.
Overview
Keploy is a developer-focused tool for API and integration testing that builds tests and data mocks from real application traffic. It records incoming requests and outgoing dependency calls using network-level capture, then replays that behavior so teams can run regression checks without standing up full external infrastructure each time.
Workflows center on recording while the application runs, then executing tests offline against mocks. Recorded flows can cover HTTP APIs plus dependencies such as Postgres, MySQL, MongoDB, Kafka, RabbitMQ, and other external systems, which Keploy replays deterministically. Interception happens at the network layer rather than through per-language SDKs in typical setups, which keeps the approach language-agnostic.
Coverage reporting spans statement and branch metrics for developers and API schema or business-case coverage for QA-oriented workflows. CI/CD runs on the CLI or in pipelines, a console manages recordings, unified reporting spans test types, time freezing applies during replay, and a mock registry enables reuse across environments. AI-assisted expansion can propose extra cases from recordings and OpenAPI schemas.
Compared with manually authored API collections or hand-maintained HTTP mocks, Keploy generates tests and dependency stubs from observed behavior, including non-HTTP dependencies. Tests can run locally, in CI/CD, or across Kubernetes for verifying changes before merge or deploy.
Key features
- Traffic recording without code changes
- Replay of API and dependency calls
- Mocks for databases and message queues
- Statement, branch, and API coverage reports
- CI and Kubernetes test execution
- Developer console for tests and mocks
- Time freezing during deterministic replay
- Centralized mock registry
Use cases
- Regression testing from production-like traffic
- Integration tests without live dependencies
- API contract checks in CI pipelines
- Expanding coverage from OpenAPI schemas
- Verifying changes before deployment
Open-source alternative to
Does the same job as
Keploy doesn't name these products itself, but its own description shows it does the same job.