π The must-have tool for developers in the AI-Gen era for 90% test coverage π
Keploy is a developerβcentric API and integration testing tool that autoβgenerates tests and dataβmocks faster than unit tests.
It records API calls, database queries, and streaming events β then replays them as tests. Under the hood, Keploy uses eBPF to capture traffic at the network layer, but for you itβs completely codeβless and languageβagnostic.
π° Fun fact: Keploy uses itself for testing! Check out our swanky coverage badge:
Β
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.)
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!
π Read the docs on record-replay
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.
π Read the docs on infra virtualisation
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.
π Read the docs on coverage
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.
π Read the docs on coverage
-
π 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. Read more
-
π 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. Read more
-
π Mock Registry: Centralized registry to manage, reuse, and version mocks across teams and environments. Read more
curl --silent -O -L https://keploy.io/install.sh && source install.shStart your app under Keploy to convert real API calls into tests and mocks.
keploy record -c "CMD_TO_RUN_APP"Example for Python:
keploy record -c "python main.py"Run tests offline without external dependencies.
keploy test -c "CMD_TO_RUN_APP" --delay 10- π Installation
- π QuickStarts
Because Keploy intercepts at the network layer (eBPF), it works with any language, framework, or runtimeβno SDK required.
Note: Some of the dependencies are not open-source by nature because their protocols and parsings are not open-sourced. It's not supported in Keploy enterprise.
Want a guided walkthrough, dedicated support, or help planning enterprise rollout?
Prefer a calendar invite? Mention your availability in the emailβweβll send a calendar invite right away.
- π Documentation β Explore the full docs
- π¬ Slack Community β Join the conversation
- π Contribution Guidelines
- β€οΈ Code of Conduct
- π’ Blog β Read articles and updates
Whether you're new or experienced, your input matters. Help us improve Keploy by contributing code, reporting issues, or sharing feedback.
Together, let's build better testing tools for modern applications.