This image is meant for a simple HTTP stress test, built in Java, useful for autoscaling tests.
This image is based on EC2 master class course from Stephane Maarek
Check this image too. It is an option with similar features built in PHP
IMPORTANT: This image is not production ready
Use this command to run the container:
docker run -p 80:4567 leonardolemos/java-stress-testThe service will be accessible in localhost
OBS: The container will always expose the 4567 port
After run the container you can use this endpoints:
| Endpoint | Feature |
|---|---|
| / | Show container ip and ID |
| /details | Show request informations(headers for example) |
| /cpu | stress CPU |
| /ram | Alloc a bunch of RAM |
| /ram/info | Show info about the RAM being used |
| /ram/clean | Release RAM previously allocked |
| /health | Show health status |
| /health/flip | Turn container into unhealth |