Awesome
Spring worker for load-testing
Sample Workload SpringBoot Application based Java.
API list
- [GET]
/
: root (return hello-message) - [GET]
/load-gen/loop
: load-testing-point- [Param]
count (default: 50)
: Loop cycle count - [Param]
range (default: 1000)
: Fibonacci's range - [Param]
enableOOM (default: false)
: make out of memory - ex.
/load-gen/loop?count=50&range=1000&enableOOM=false
- [Param]
How to use on docker image
# Build Docker Image
docker build -t java-sample-app .
# Run on docker image
docker run -d \
--name java-sample-app \
-p 8080:8080 \
java-sample-app
# Check the log from running container
docker logs -f java-sample-app
access to ...
Clean up
# Stop Container
docker stop java-sample-app
# Remove Container
docker rm java-sample-app
# Remove Image
docker rmi java-sample-app