Skip to content

hellofresh/kangal-jmeter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kangal-JMeter

Kangal-JMeter is a set of docker images specifically configured for Kangal

Based on these images Kangal creates JMeter-worker and JMeter-master pods automatically for every new load-test.

Kangal-JMeter specific features

JMeter configuration

Kangal-JMeter base docker image is build together with JMeter plugin-manager and the following plugins:

JMeter-worker and JMeter-master are built from a base image with a few environment variable additions.

RMI keys

Kangal-JMeter base image has RMI keys injected to provide secure connection between master and worker pods.

Logging for Java app

Logging configuration in log4j2.xml is added to base image to support logging.

Starting JMeter with launcher script

Launcher.sh script runs in JMeter-master container, and it starts JMeter application in a container as soon as test.jmx file is added to the container.

Saving JMeter report to storage

JMeter automatically creates a test report after the successful test run. For every new test Kangal exports a environment variable called REPORT_PRESIGNED_URL, which allows uploading a single file to it by simple doing PUT request. JMeter-master docker image uses the script launcher.sh to upload the report by using this PreSigned URL.