Locust

LocustDeveloper(s)| Jonatan Heyman, Lars Holmberg, Carl Byström, Joakim Hamrén and Hugo Heyman

|

Stable release|

2.15.1[1]

Repository| github.com/locustio/locust
Available in| English
Type| Load testing
License| MIT License[2] or later
Website| locust.io

Locust is an open source[3] HTTP load testing and web server benchmarking tool. It is written in Python[4] and developed by Jonatan Heyman, Lars Holmberg, Carl Byström, Joakim Hamrén and Hugo Heyman.[5]

Its script testing scenarios are also written in Python[6] and could be executed on single instance or in a scalable way on multiple instances in order to test a web sites performances under stress. It could also be used for other systems or protocols like Microservices[7], XML-RPC, GRPC, REST, WebSocket/Socket.IO, Kafka, Selenium/WebDriver, Playwright, ...

## Contents

* 1 Performance measures
* 2 Platform support
* 3 See also
* 4 References
* 5 External links

## Performance measures

The requests could be started from a single node (master) or distributed across several workers.

An (optional) web UI dashboard allows to size and control the test, it also provides live information on:

* Number of current simultaneous users
* Percentage of failure
* Number of requests per second
* Error messages
* 3 graphs over time: req./s, response time (average & 95% percentiles), number of users
* A table with individual stats for each call: number of requests, median, percentile, averag min, max size, request/second, failure, ...

At the end of the test, these data could be exported in html or csv format.

## Platform support

Locust is written in Python and should run on any system that support this language.[8]

## See also

* Web server benchmarking
* Apache JMeter
* K6
* Performance engineering
* Software performance testing
* Software testing

## References

1. ↑ "Locust". 26 January 2011. https://docs.locust.io/en/stable/changelog.html.
2. ↑ "Changelog Highlights". locust.io. https://github.com/locustio/locust/blob/master/LICENSE.
3. ↑ "Open source load testing tool review 2020". k6.io. https://k6.io/blog/comparing-best-open-source-load-testing-tools/.
4. ↑ "What Is Locust Load Testing?". blazemeter.com. https://www.blazemeter.com/blog/locust-load-testing.
5. ↑ "What is Locust?". locust.io. https://docs.locust.io/en/stable/what-is-locust.html.
6. ↑ "Distributed load generation". locust.io. https://pypi.org/project/locust/.
7. ↑ Camilli, Matteo; Janes, Andrea; Russo, Barbara (2022-05-01). "Automated test-based learning and verification of performance models for microservices systems". Journal of Systems and Software 187: 111225. doi:10.1016/j.jss.2022.111225. ISSN 0164-1212. https://www.sciencedirect.com/science/article/pii/S0164121222000061#d1e9449. Retrieved 2023-06-20.
8. ↑ "locust · PyPI". pypi.org. https://docs.locust.io/en/stable/running-distributed.html.

## External links

* Official website
* A list of Locust plugins

Category:Load testing tools Category:Software testing

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Locust (software). Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Locust&oldid=3165537"