HookChaos: Webhook Stress Tester CLI/Open-Sourced Project
An order got fulfilled twice. Took me two days to figure out our handler wasn't idempotent and the provider was retrying on timeout. Fine, lesson learned. Then it happened again. Different bug, same category — a webhook edge case we never tested for because our "testing" was basically: send a ping, get a 200, ship it. That's when I realized we had no real way to test the bad stuff. Duplicate events, out-of-order delivery, delayed events hitting stale state, signature validation breaking over a trailing newline. We just hoped production wouldn't surface them. Production always surfaces them. So I built HookChaos — a local-first CLI that throws these scenarios at your endpoint before production does. '''bash hookchaos run --pack duplicates --target http://localhost:3000/webhooks ''' Built-in scenario packs for the common failure modes, write your own, save and replay results, share with your team. Visual studio if you hate terminals. Open source and early stage: umutkeskin1001-cell / Hoo
Continue reading on Dev.to
Opens in a new tab




