Reporting tool for Taurus(JMeter) load tests. Jtl Reporter is meant to be used as addition to Grafana perf stack. While Grafana provides great solution for live data preview it falls short of easy test run retrospective. Jtl Reporter's main objective is to give you the possibility compare test runs with ease.
- Install Docker (Engine, Compose)
- Clone this repository and navigate into cloned folder
- Deploy JtlReporter using
docker-compose
within the same folder
$ docker-compose up -d
- Open in your browser IP address of deployed environment at port
2020
$ http://IP_ADDRESS:2020
Jtl Reporter can be easily integrated with Taurus. To do it we are going to use shell exec module and custom python upload script. Here is an example of test yaml configuration:
settings:
env:
BASE_URL: yourBaseUrl.com
SCENARIO: demoScenario
PROJECT: demoProject
execution:
concurrency: 50
ramp-up: 3m
hold-for: 30m
scenario: demoScenario
scenarios:
demoScenario:
script: jmx/demo.jmx
variables:
baseUrl: ${BASE_URL}
services:
- module: shellexec
post-process:
- python $PWD/helper/upload_jtl.py -p ${PROJECT} -s ${SCENARIO} -e ${BASE_URL} -ec $TAURUS_EXIT_CODE -er "${TAURUS_STOPPING_REASON:-''}"
Do not forget to copy upload_jtl.py script into your project folder.
Launch your test and after it finishes it will upload .jtl file(s) into Jtl Reporter automatically.
Please note that "demoProject" and "demoScenario" have to exist in Jtl Reporter beforehand otherwise it will return an error.
JtlReporter consists of the following parts:
Jtl Reporter is GPL-3.0 licensed.