Easy way to use Apache jmeter cli
240
By default, this image will target 127.0.0.1:8080 when you run it. The easiest way to change that is to modify it to modify it in your Dockerfile
FROM rignchen/jmeter
RUN sed -i 's/127.0.0.1/<your-ip>/' test-plan.jmx
RUN sed -i 's/8080/<your-port>/' test-plan.jmx
You can also entirely replace the test-plan.jmx if you want your own test plan
FROM rignchen/jmeter
COPY test-plan.jmx test-plan.jmx
After executing the docker container you can get the files generated by jmeter using docker cp, these are located in the container under /test
Content type
Image
Digest
sha256:9fe9169d0…
Size
294.8 MB
Last updated
over 1 year ago
docker pull rignchen/jmeter