Skip to content

Keploy

API testing tool that records real traffic and replays it as tests and mocks

Permissive (OSI) · Apache-2.0
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

83

Health

Thriving

Overview

Stars

19,981

Last commit

today

Nov 2026

Repository age

4 years

since Jan 2022

Latest version

v3.7.18

Nov 2026

Contributors

–

28 active in 90 days

Releases

25

last 12 months

Language

Go

Keploy is an API and integration testing tool for developers. You start your app with keploy record, and it captures API calls, database queries and streaming events. It then replays them as tests, with mocks standing in for dependencies. It uses eBPF to capture traffic at the network layer, so you add no SDK and change no code, and it works with any language.

It records more than HTTP. The mocks cover Postgres, MySQL and MongoDB, queues such as Kafka and RabbitMQ, and external APIs. Tests run offline, with system time frozen for repeatable results. Keploy reports statement and branch coverage as well as API schema coverage, and it can use OpenAPI schemas to propose extra test cases.

You can run it locally from the CLI, in CI systems such as Jenkins and GitHub Actions, or in a Kubernetes cluster. It is written in Go under the Apache-2.0 license. Docker is supported, you can self-host it, and a hosted plan is offered. It has no single commercial product as its counterpart.

Who it's for

Backend developers with services that lack test coverage

Recording real traffic gives you tests without writing them by hand.

Skip if: You work on a platform where eBPF is unavailable.

QA engineers measuring API coverage

Reports cover API schema and business use-case coverage alongside code coverage.

Skip if: Your testing is mostly browser-based UI testing.

Teams running tests in CI pipelines

Tests run offline with mocked databases and queues in Jenkins, GitHub Actions or Kubernetes.

Skip if: You want to keep tests written by hand in your own framework.

The problem it solves

Writing API tests and mocks for databases and queues takes a lot of time. Keploy records real traffic from your running app and turns it into tests and mocks you can replay.

Strengths

  • No code changes or SDKs; eBPF captures traffic and any language works
  • Mocks databases (Postgres, MySQL, MongoDB) and queues (Kafka, RabbitMQ)
  • Freezes system time so replays are deterministic
  • Apache-2.0 license with 25 releases in the last year
  • Runs locally, in CI or in Kubernetes

Trade-offs

  • The eBPF approach is used on Linux and macOS through the CLI
  • Recorded tests reflect the traffic you captured, so coverage depends on it
  • Some features, such as the console, mock registry and reporting, may sit alongside a paid hosted plan

Self-host Keploy

Self-hostable
Yes
Hosted plan
From $19/month · pricing

Quick start

source /dev/stdin <<<"$(curl -fsSL https://keploy.io/install.sh || echo 'echo Keploy installer download failed >&2; return 1')"

From the project's own install instructions. Check the docs for production settings.

In the community

Frequently asked questions

Is Keploy free?

The code is open source under Apache-2.0. A hosted plan is also offered, starting at 19 USD per month.

Can I self-host it?

Yes. You can run it yourself, and Docker is supported.

Which platforms does it run on?

It runs from the command line on Linux and macOS, and a Homebrew formula is available.

Do I need to change my code?

No. Keploy captures traffic with eBPF, so you add no SDKs and it works across languages.

Similar tools in Testing and code quality tools

Apache JMeter

Testing and code quality tools

Java load-testing tool for web apps, APIs and databases, with a GUI and headless mode

9.6k 2.3k 2 days ago Active Apache-2.0

pyright

Testing and code quality tools

Fast static type checker for Python, as a CLI and a Visual Studio Code extension

16k 1.9k 3 days ago Thriving MIT

MiniStack

Testing and code quality tools

Local AWS emulator for developers and CI pipelines, MIT licensed with no account

5.2k 554 yesterday Thriving MIT

Replaces Localstack

sonarqube

Testing and code quality tools

Self-hosted static analysis server that flags bugs and vulnerabilities in your code

11k 2.2k today Thriving LGPL-3.0

Buildbot

Testing and code quality tools

Python-configured continuous integration framework for custom, complex build workflows

5.5k 1.7k yesterday Active GPL-2.0

Replaces Jenkins

Floci

Testing and code quality tools

Free MIT-licensed local AWS emulator for development, testing and CI without an account

32k 3.6k today Thriving MIT