Public Repository

Last pushed: a year ago
Short Description
Small node.js app that simulates delay with value passed as query string parameter "q".
Full Description

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:

curl http://localhost:49160?q=100

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.

Docker Pull Command
Owner
kanio

Comments (0)