Skip to content

Simple program to convert locust.io csv output into JUnit XML

Notifications You must be signed in to change notification settings

joncloud/locust-csv-to-junit-xml

Repository files navigation

locust-csv-to-junit-xml

Simple program to convert locust.io csv output into JUnit XML. Use this to convert the output into pipelines like Azure DevOps or Jenkins.

Sample usage

python main.py -p <prefix>

Development

Requirements

Running on Host OS

Install the necessary Python version and virtual environment:

./dev.sh

Activate the virtual environment in order to run the right Python version:

. venv/bin/activate

Installing Python package dependencies requires updates to the pyproject.toml, and then re-generating requirements.txt:

pip-compile --extra=dev --output-file=requirements.txt pyproject.toml

Syncing the virtual environment's packages:

pip-sync

Running in Docker

docker build -t locust-csv-to-junit .