aws_lambda
This is an example of a AWS Lambda function written in Python which can be used as middleware. This example will will randomly delay your request for up to 2 seconds and then return an Nginx 503 internal server error page.
You can configure Hoverfly to run this middleware using hoverctl:
To find out more, please check the documentation regarding middleware.
If you want to learn more about AWS Lambda, please check their documentation regarding getting started.
Last updated