OpenSourceProjects logo
keploy logo

keployOpen-source platform for creating safe, isolated production sandboxes for API, integration, and E2E testing.

Open-source platform for creating safe, isolated production sandboxes for API, integration, and E2E testing.

19,612 stars
2,450 forks
Go
Apache-2.0
keploy screenshot

keploy

Keploy is an open-source, code-less API and integration testing platform that automatically generates tests and data mocks from real production traffic using eBPF technology. It captures API calls, database queries, and streaming events to create comprehensive test cases faster than manual unit testing, enabling developers to achieve 90% test coverage with minimal effort.

Key Features

  • Zero Code Changes: No SDKs or code modifications needed—just run your app with Keploy record to automatically capture real API flows as tests and mocks
  • Complete Infrastructure Virtualization: Records and replays databases (Postgres, MySQL, MongoDB), streaming systems (Kafka, RabbitMQ), and external APIs, not just HTTP endpoints
  • AI-Powered Test Expansion: Uses OpenAPI schemas and existing recordings to identify boundary values, missing fields, and edge cases to expand API coverage
  • Combined Coverage Metrics: Calculates statement, branch, and API schema coverage simultaneously for both developers and QA teams
  • Multi-Environment Testing: Run tests with mocks locally on CLI, in CI/CD pipelines (Jenkins, GitHub Actions), or across Kubernetes clusters
  • Time Freezing: Deterministically replay tests by freezing system time during execution for consistent results

Use Cases

  • API Testing: Automatically generate comprehensive API test suites from real production traffic without manual test case writing
  • Integration Testing: Record and replay complex distributed flows across multiple services, databases, and external dependencies
  • Production Sandbox Creation: Create safe, isolated sandboxes of production environments for testing without affecting live systems
  • CI/CD Automation: Integrate generated tests into continuous integration pipelines for automated testing on every commit
  • Coverage Expansion: Use AI to identify missing test scenarios and edge cases based on API schemas and existing recordings

Who Is It For

Keploy is designed for developers and QA engineers who want to accelerate test coverage and reduce the time spent writing and maintaining tests. It's particularly valuable for teams building microservices, APIs, and complex integrations who need reliable, maintainable tests without extensive manual effort.

Trending Open Source Projects