How to Generate Test-Cases and Data Mocks for Microservices at Kernel Using eBPF
summary
Keploy uses an eBPF UProbes/KProbes agent to record kernel-level API and DB calls from live traffic and autoconvert them to runnable test cases and realistic data mocks without writing scripts. It maps headers and queries, generates virtual database responses to avoid real dependencies, emits JUnit/Jest/Go-Test–readable artifacts, and drops SDKs for language neutrality. Example: six captured requests give 66.7% coverage; claimed workflow cuts test effort ~60% while adding support for gRPC, websockets, and Helm.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 6:03Microservice testing challenges
- 10:43Shadow testing to Kloy
- 17:50eBPF testing with Kloy
- 29:23Demo: test-case from traffic
- 31:27Future work
- 37:34Q&A
related talks
17meBPF in Microservices Observability
40mStrategic Business Functionality Testing: Accelerating Development Through Mocking
31mFake It to Make It! - TDD of gRPC Microservices
20mHigh Velocity Development of Microservices
48mPerformance testing of microservices in action
42mMicroservice Testing Techniques
41mResillient Microservices without the Chaos
25mResilience testing in modernization projects
