DEV Community

Discussion on: Manage webhooks at scale with AWS Serverless

Collapse
 
rberger profile image
Robert J. Berger

How would you do end-to-end load testing for a system like this? The load test should be able to trigger the input API and see the result from the webhook.

Collapse
 
eidivandi profile image
Omid Eidivandi

It s too late but simply in theses kind of scenario

We trigger the e2e init
We subscribe an ephemeral endpoint, I do that using restify
The restified service will handle the validation of incoming request
As the service created by restify is a local server I use ngrok to make it public

At the end we destroy the service created and exposed publicly

Wish that helps