Docker image for an Upstream API to hit for performance tests.
Build:
docker build -t perf-upstream-api .
Run:
docker run -d -p 8082:8000 --rm --name perf-upstream-api perf-upstream-api
Stop:
docker stop perf-upstream-api
Push:
docker image tag perf-upstream-api fombicovmw/perf-upstream-api:{version}
docker image push fombicovmw/perf-upstream-api:{version}
- http://{address}:8000/random - returns 1024 random characters
- http://{address}:8000/random?length=n - returns n random characters