sophielane

sophielane

Keploy - Open-Source Framework for Recording Application Behavior and Generating Reliable Integration and API Tests

Keploy is an open-source framework for recording real application behavior and automatically generating integration and API tests. It helps developers capture test cases from actual runtime interactions with databases, APIs, and services, reducing manual test maintenance and improving CI/CD reliability.

Key Highlights

:bullseye: 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.)

:video_camera: 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!

Convert API calls to test cases

:rabbit: 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.

Convert API calls to test cases

:test_tube: 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.

ai test gen for api statement schema and branch coverage

:robot: 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.

ai test gen for api statement schema and branch coverage

Other Capabilities

  • :globe_with_meridians: 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.

  • :performing_arts: Multi-Purpose Mocks: You can also use Keploy-generated Mocks, as server Tests!

  • :bar_chart: Reporting: Unified reports for API, integration, unit, and e2e coverage with insights directly in your CI or PRs.

  • :desktop_computer: Console: A developer-friendly console to view, manage, and debug recorded tests and mocks.

  • :stopwatch: Time Freezing: Deterministically replay tests by freezing system time during execution.

  • :books: Mock Registry: Centralized registry to manage, reuse, and version mocks across teams and environments.

Where Next?

Popular Backend topics Top

New
mafinar
A friend and I implemented a few algorithms in Dart and set them up in a repository. Thought I’d share it here.
New
CommunityNews
Runtime and compiler performance is out of this world. New features include better error handling, a more powerful API, cross-compilation...
New
First poster: bot
:gem: Artichoke Ruby is a modular Ruby implementation written in Rust. Artichoke is made up of several Rust libraries, called crates, whi...
New
First poster: bot
Today’s the day: We’re very proud to announce Trussed®, an open source framework for modern cryptographic applications, which powers the ...
New
First poster: Carter
https://makepad.dev/ This thread was posted by one of our members via one of our news source trackers.
New
First poster: bot
Turn (almost) any Python command line program into a full GUI application with one line
New
First poster: GermaVinsmoke
This guide collects some of the most common functions of the Elixir Programming Language and explain them conceptual and graphically in a...
New
fabforms
I would like to announce updates to fabform.io our form backend service for developers
New
kirkjkrauss
In August, I came up with an algorithmic method for matching wildcards in Rust and had no trouble making it UTF-8-ready. I realized the ...
New

Other popular topics Top

PragmaticBookshelf
Learn from the award-winning programming series that inspired the Elixir language, and go on a step-by-step journey through the most impo...
New
ohm
Which, if any, games do you play? On what platform? I just bought (and completed) Minecraft Dungeons for my Nintendo Switch. Other than ...
New
AstonJ
There’s a whole world of custom keycaps out there that I didn’t know existed! Check out all of our Keycaps threads here: https://forum....
New
AstonJ
Biggest jackpot ever apparently! :upside_down_face: I don’t (usually) gamble/play the lottery, but working on a program to predict the...
New
PragmaticBookshelf
Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
New
New
New
First poster: AstonJ
Jan | Rethink the Computer. Jan turns your computer into an AI machine by running LLMs locally on your computer. It’s a privacy-focus, l...
New
PragmaticBookshelf
Develop, deploy, and debug BEAM applications using BEAMOps: a new paradigm that focuses on scalability, fault tolerance, and owning each ...
New
AstonJ
Curious what kind of results others are getting, I think actually prefer the 7B model to the 32B model, not only is it faster but the qua...
New