KTL
initialising runtime
0%

Kumuditha Tharinda Liyanage

KTL.
Back to selected work

Engineering Lab · Full Stack · 2026

Rehearsal

An API Reliability Workbench

An API reliability workbench for rehearsing timeouts, duplicate events, rate limits and recovery strategies over real HTTP — not a scripted animation.

Rehearsal project interface preview

Project overview

Rehearsal sends an order through inventory, payment and delivery sandbox APIs, lets you inject one failure — a lost response, a duplicate event, a rate limit, an unexpected shape — and watches the requests unfold against the provider ledgers. Run the same scenario again with a recovery strategy and compare outcomes side by side, backed by real HTTP calls and real ledgers rather than a simulated timeline. The hosted deployment pairs a Vercel web app with a real HTTP backend on a DigitalOcean VPS, routing delivery through WSO2 API Manager with server-side OAuth client credentials.

What it does

Four Failure Scenarios

Lost response, duplicate event, rate limit and unexpected response shape, each with its own recovery strategy.

Baseline vs Recovery

Run a fault with and without a recovery strategy, then compare committed-operation charts side by side.

Live Event Trace

Keyboard-accessible event playback with directional flow animation across the three provider nodes.

Downloadable Reports

PDF run reports with a ledger chart and full trace, plus the original JSON kept available separately.

Real HTTP, Real Ledgers

Three sandbox providers with per-run isolation and idempotency handling — no scripted fixtures.

WSO2 API Gateway

The hosted delivery path runs through WSO2 API Manager with server-side OAuth, verified against real token rejection and throttling checks.