Jmeter Docker Image for launching Remote Distributed tests. It can be used with Docker Swarm.
799
Docker Image with Jmeter and OpenJDK JRE based on Linux Alpine specially designed for distributed load testing.
In order to build the image, you should run the following command:
docker build -t mtenrero/jmeter -t mtenrero/jmeter:latest -t mtenrero/jmeter:3.3 .
Please, bear in mind that the tags :latest and :3.3 represents the version of Jmeter you're installing into the image.
The image can be started in two modes:
docker run command with the list of all available remotes to use by the master.docker run -it -v $(pwd)/test:/test -e MODE="master" -e TEST_PATH="test.jmx" -e REMOTES="hosts" -p 6666:6666 mtenrero/jmeter
docker run -d -e MODE="node" -p 7000:7000 -p 1099:1099 -p 4445:4445 mtenrero/jmeter
Docker Compose is the easiest way to try the configuration locally. You only need to specify the test name without the JMX extension in the enviroment variable TEST_NAME and put the file under the test folder within the root docker-compose folder.
If you need simulate multiple nodes, clone the slaves in the docker-compose file and make sure that they are declared in the REMOTES env.
TEST_NAME=<JMX_FULL_FILE_PATH> docker-compose up
Content type
Image
Digest
Size
154.6 MB
Last updated
about 8 years ago
docker pull tenrero/jmeterdistributed