API Testing Without Writing Test Cases and Mocks
summary
An open source tool called Keploy SDK records HTTP requests plus dependency calls and database queries, then replays them as functional tests so teams avoid hand‑written test cases and mocks. A demo runs recorded cases in CI and reports 74% coverage for the sample app, shows noisy-field normalization (timestamps) and lets the UI update failing test expectations. It virtualizes infra to virtualize dependencies, runs without the real DB, but does not exercise network failures, streaming, or multi‑service scenarios yet.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:27Problems
- 2:01What we needed
- 2:37Writing automation test suites
- 4:54Shadow testing
- 10:46Summary
- 16:04SDK vs Agent
- 18:47SDK Approach
- 19:50Demo
- 26:51Current State
- 27:36Limitations
- 29:28Future Work
related talks
13mAPI Testing Made Easy
28mGenerating Test-Cases and Mocks from Production
16mAuto-Generating E2E Test-Cases and Mocks w/ Keploy
14mRecord-Replay API Test Cases with Data Mocks using Keploy
46mRecord-Replay API Test Cases & Data Mocks without writing code
50mContinuous API Mocking and Testing with Microcks, Keptn, and Testkube
40mStrategic Business Functionality Testing: Accelerating Development Through Mocking
39mHow to Generate Test-Cases and Data Mocks for Microservices at Kernel Using eBPF
