GithubHelp home page GithubHelp logo

tulasirm / jtl-reporter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kakawaa/jtl-reporter

0.0 1.0 0.0 1.54 MB

Reporting tool for JMeter/Taurus load tests. Main repository - see readme below.

License: GNU General Public License v3.0

Dockerfile 3.60% TSQL 31.72% Python 64.67%

jtl-reporter's Introduction

Description

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.

Installation steps

  1. Install Docker (Engine, Compose)
  2. Clone this repository and navigate into cloned folder
  3. Deploy JtlReporter using docker-compose within the same folder
$ docker-compose up -d
  1. Open in your browser IP address of deployed environment at port 2020
$ http://IP_ADDRESS:2020

Taurus integration

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.

Repositories structure

JtlReporter consists of the following parts:

Screenshot

Item detail

License

Jtl Reporter is GPL-3.0 licensed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.