Keploy
Keploy captures real application traffic and turns it into editable tests and dependency mocks, enabling developers to replay and verify changes in isolated environments locally, in CI, or on Kubernetes.
Visit keploy/keployOverview
Keploy is an open-source platform for creating safe, isolated production sandboxes for API, integration, and end-to-end testing. It records real request and response flows, virtualizes downstream dependencies, and replays them deterministically to verify changes.
Key Features
- Captures real API traffic from production, staging, or local environments with zero code changes and records request and response flows.
- Creates isolated mocks for databases, Kafka, Redis, and third-party APIs so downstream dependencies can be replayed as-is.
- Deduplicates flows and filters volatile fields such as timestamps, IDs, and random tokens for deterministic replay.
- Generates editable test artifacts with assertions for schemas, status codes, and key fields, and can run them as API, integration, end-to-end, or contract suites.
- Replays tests in CI/CD, Kubernetes, or local environments with mock dependencies and time-freeze controls.
- Provides coverage reports, regression alerts on Slack, email, or webhooks, and AI-assisted bug detection.
Use Cases
- Verify application changes against recorded production traffic before merging or releasing.
- Run deterministic API and integration tests in CI/CD or Kubernetes without shared infrastructure bottlenecks.
- Generate and maintain API test suites using real traffic, schemas, and application context.
- Surface regressions and likely root causes with coverage reports, alerts, and automated assertions.
Getting Started
- Use the Keploy documentation and quickstarts to get up and running.
Deployment & Requirements
- Runs locally, in CI/CD, or across Kubernetes.
- Supports self-hosted and Kubernetes deployment options.
Before You Adopt
- License: Apache-2.0. Review its terms before using, modifying, or distributing the project.
- Captured traffic can be kept inside your environment by running a self-hosted data plane.