Software:Locust
Developer(s) | Jonatan Heyman, Lars Holmberg, Carl Byström, Joakim Hamrén and Hugo Heyman |
---|---|
Stable release | 2.15.1[1]
|
Repository | github |
Available in | English |
Type | Load testing |
License | MIT License[2] or later |
Website | locust |
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, ...
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
- ↑ "Locust". 26 January 2011. https://docs.locust.io/en/stable/changelog.html.
- ↑ "Changelog Highlights". locust.io. https://github.com/locustio/locust/blob/master/LICENSE.
- ↑ "Open source load testing tool review 2020". k6.io. https://k6.io/blog/comparing-best-open-source-load-testing-tools/.
- ↑ "What Is Locust Load Testing?". blazemeter.com. https://www.blazemeter.com/blog/locust-load-testing.
- ↑ "What is Locust?". locust.io. https://docs.locust.io/en/stable/what-is-locust.html.
- ↑ "Distributed load generation". locust.io. https://pypi.org/project/locust/.
- ↑ 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.
- ↑ "locust · PyPI". pypi.org. https://docs.locust.io/en/stable/running-distributed.html.
External links
Category:Load testing tools Category:Software testing
Original source: https://en.wikipedia.org/wiki/Locust (software).
Read more |