Skip to content

hcbt/jmeter-dockerized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JMeter-test

This repository includes docker-compose for running JMeter inside a docker container together with Grafana and InfluxDB for visualization and monitoring of JMeter test data.

Requirements

  • Docker

Usage

Simply run

docker-compose up -d

and enjoy.

Grafana dashboard can be accessed on localhost:3000

How it works

Test plan

Default test plan (test-plan.jmx) includes a single HTTP sampler. Different test plan can be set inside .env file.

Environment

Things like name of test plan, number of threads, hostname, port number etc. are read from .env file which is passed to docker-compose for setting env variables. JMeter accepts user defined variables setting from commandline so whatever is stored in .env file can be passed to JMeter through docker-compose.

Statistics

This repo uses JMeter InfluxDB v2.0 listener plugin for storage of JMeter test results in InfluxDB database for easier access to the data. The plugin makes it easier to visualize test data using grafana as well.

Resources used

About

Run Jmeter inside docker with Grafana.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages