Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/panilya/locustcompare
Locust Compare
https://github.com/panilya/locustcompare
locust performance-testing
Last synced: about 1 month ago
JSON representation
Locust Compare
- Host: GitHub
- URL: https://github.com/panilya/locustcompare
- Owner: panilya
- Created: 2022-10-22T13:00:59.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-22T13:20:20.000Z (about 2 years ago)
- Last Synced: 2024-11-14T19:39:50.679Z (about 1 month ago)
- Topics: locust, performance-testing
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-locust - locustcompare - A command-line tool to compare Locust test results. (Tools / Results Processing)
README
# locustcompare
locustcompare is a fork of [Locust-Compare](https://github.com/tlolkema/Locust-Compare)
At the moment, [Locust-Compare](https://github.com/tlolkema/Locust-Compare) is outdated and doesn't work.
locustcompare is created to replace [Locust-Compare](https://github.com/tlolkema/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 .py --config=locust.conf`
`python3 locust_compare.py --prefix example --option create_baseline`
Run Locust again: `locust -f .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`