keploy /keploy
Open-source platform for creating safe, isolated production sandboxes for API, integration, and E2E testing.
★ 19,803⑂ 2,458👁 48⑃ 3,330● 1,836▤ 868
+25
Daily
19,803
stars
2,458
forks
48
watchers
3,330
prs
1,836
issues
868
releases
README
⚡️ API tests faster than unit tests, from user traffic ⚡️
🌟 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:
---
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!
👉 Read the docs on record-replay
🐇 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.
👉 Read the docs on infra virtualisation
🧪 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.
👉 Read the docs on coverage
🤖 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.
👉 Read the docs on 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. 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
---
Quick Start
1. Install Keploy Agent
bash
source /dev/stdin &2; return 1')"
2. Record Test Cases
Start your app under Keploy to convert real API calls into tests and mockTop issues
#3521Add New Quickstarts for More Languages (Rust, Ruby, C++, Perl, PHP)39 comments · 2026-01-12#2878[feature]: Add utility to capture the network calls for debugging32 comments · 2025-08-12#3811[feature]: add sse and http streaming support26 comments · 2026-02-19#2382[feature]: Pricing Page24 comments · 2024-10-28#2071[feature]: new version is available should be prompted21 comments · 2024-07-15#3084[blog-website] Add Modern UI Components to Landing Page21 comments · 2025-10-01#2381[feature]: Navbar Dock17 comments · 2024-10-28#2384[feature]: Careers page for Keploy16 comments · 2024-10-28
Discussions
#3747Leveraging Keploy for Efficient API Testing1 comments · 2026-02-09#3512Proposal: Incremental Kafka Producer support in Keploy (design & PR breakdown)3 comments · 2026-01-10#3458⚠️ Linux Prerequisites for Running Keploy Samples with Docker Compose1 comments · 2026-01-03#3398Slack Link for contributors1 comments · 2025-12-19#3395How to find a project to contribute to which aligns with my tech-stack2 comments · 2025-12-18#3378Proposal: `keploy validate` command for pre-test validation (before keploy test)2 comments · 2025-12-15#3323energy cost1 comments · 2025-11-29#3236assign issue1 comments · 2025-11-06
Latest release
v3.7.7 v3.7.7 2026-11-15What's Changed fix(replay): read IPv6 hosts right in test targets, the base path and docker and compose port mappings by @slayerjain in https://github.com/keploy/keploy/pull/5277 Full Changelog: https://github.com/keploy/keploy/compare/v3.7.6...v3.7.7