Small node.js app that simulates delay with value passed as query string parameter "q".
It can be used for load testing scenarios for API Gateways if you want to test performance based on backend delay.
You can run the container as follows locally:
docker run -p 49160:8080 -d kanio/nodetestapp
Then you can test the app as follows:
And the response after approximately 100 ms will be just "100"
If you don't pass any value for "q", the response will be immediate.
Please don't forget to enable to port you will be running the container if you need it to serve public traffic.