Git Product home page Git Product logo

locustcompare's Introduction

locustcompare

locustcompare is a fork of Locust-Compare

At the moment, Locust-Compare is outdated and doesn't work.

locustcompare is created to replace Locust-Compare and to add more useful features.

Features:

  • Merge 2 CSV files with test results to 1 CSV file.
  • Compare by column(s).
  • Compare test results in HTML.

Installation

pip3 install pandas pip3 install locustio

Configuration

Configure Locust in locust.conf

Step-by-step instruction on how to run

locust -f <scenario_file>.py --config=locust.conf

python3 locust_compare.py --prefix example --option create_baseline

Run Locust again: locust -f <scenario_file>.py --config=locust.conf

If you want to see diff in HTML format procced to the next section.

If you want to see diff as CSV files merged to one CSV file, run the next command:

python3 locust_compare.py --prefix example --option create_comparison_stats

Then, you should see prefix_comparison_stats.csv with 2 merged CSV files.

Show tests summary diff in HTML

python3 locust_compare.py --prefix example --option compare_column --column-name "column1;column2;column3" --renderoutput true

For example:

python3 locust_compare.py --prefix example --option compare_column --column-name "Average Response Time" --renderoutput true

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.