Apache JMeter in a lightweight container for performance testing.
2.4K
This repository contains a Dockerfile for a lightweight Apache JMeter image. The Dockerfile is designed to be small and efficient, while still providing the full functionality of Apache JMeter.
bellsoft/liberica-openjdk-alpine - Liberica JDK is free and 100% open-source Progressive Java Runtime for modern Java deployments.jmeter - non-root.To build the Docker image, run the following command in the directory containing the Dockerfile:
docker build -t my-jmeter-image .
To run JMeter using the built image, you can use the following command:
docker run -v /path/to/your/test:/tests my-jmeter-image /tests/your-test.jmx
Replace /path/to/your/test with the path to the directory containing your JMeter test, and your-test.jmx with the name of your JMeter test file.
In Dockerfile, add the required JMeter plugins to install in a comma separated values as shown below.
ARG JMETER_PLUGINS="jpgc-udp=0.4,jpgc-dummy"
To install specific version add = to specify the version, else the latest version will be installed.
Contributions are welcome! Please feel free to submit a Pull Request.
Content type
Image
Digest
sha256:e09c8463f…
Size
151.8 MB
Last updated
over 1 year ago
docker pull qainsights/jmeter