Chad A
Chad A

Reputation: 11

Tool to Compare Locust Load Test Results

I'm looking for any recommendations on a tools that can be used to compare load test statistics that Locust outputs. Currently, after each run, Locust produces either an HTML page in its Web UI or a CSV file. I would like to compare these documents over the course of multiple test runs to see, for example, if a release degrades performance.

I've reviewed the list of locust extensions and found nothing.

Upvotes: 1

Views: 1031

Answers (3)

Cyberwiz
Cyberwiz

Reputation: 11396

Locust Dashboards (a part of locust-plugins stores results in Postgres/Timescale, reporting in Grafana) has a useful view for comparing runs over time.

https://github.com/SvenskaSpel/locust-plugins/tree/master/locust_plugins/dashboards

Upvotes: 0

Solowalker
Solowalker

Reputation: 2856

I like Dmitri T's answer. I've also considered JTL Reporter in the past but never got approval from my company to use it.

The use case is the same as with Grafana like Dmitri suggested, using Locust's event hooks to create "listeners" that ship off Locust's stats to a service to store, analyze, and visualize the data to facilitate run comparisons.

https://jtlreporter.site/docs/integrations/locust

Upvotes: 0

Dmitri T
Dmitri T

Reputation: 168002

You can check out locust-influx package or Locust Monitoring with Grafana in Just 15 Minutes article.

The idea is that Locust will be sending the results to InfluxDB and you will be able to come up with a Grafana dashboard visualising and comparing different test run results.

Upvotes: 1

Related Questions