To the Docker container, see run.#3145 in MvnRepository ( See Top Artifacts) #1 in Load Testing TheĮntrypoint.sh simply calls jmeter passing all argumets provided Will be the script that is run when the Docker container is run. tgz archiveĪ generic entrypoint.sh is copied into the Docker image and JMeter is installed by simply downloading/unpacking a. It was originally designed for testing Web Applications but has since expanded to. The Apache JMeter application is open source software, a 100 pure Java application designed to load test functional behavior and measure performance. The Docker image will install (via Alpine apk) several required packages most specificly There is a newer version of this package available. Not only do you get a fully-fledged Linux environment but a large selection of packages from the repository." This makes it smallerĪnd more resource efficient than traditional GNU/Linux distributions.Ī container requires no more than 8 MB and a minimal installation to disk "Alpine Linux is built around musl libc and busybox. For example:ĭockerfile inherits from the Alpine Linux distribution: To run the container with custom JMeter plugins installed you need to mount a volume /plugins with the. If this causes Issues, there is the option to use environment variables to adjust the JVM memory Parameters:Īll three use values in Megabyte range. See test.sh and the trivial test plan for an example of UDVs passed to the Dockerīy default, JMeter reads out the available memory from the host machine and uses a fixed value of 80% of it as a maximum. These are called JMeter User Defined Variables or UDVs. May be defined symbolically and substituted at runtime via the commandline. This is a standard facility of JMeter: settings in a JMX test script See test.sh for an example of how to call run.sh. The Docker image will accept the same parameters as jmeter itself, assuming Use as env variable to build with another timezone: export IMAGE_TIMEZONE="Europe/Berlin"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |