Software:Locust

From HandWiki
Revision as of 20:30, 14 July 2023 by MainEditor (talk | contribs) (MainEditor moved page Software:Locust (software) to Software:Locust without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Locust
Developer(s)Jonatan Heyman, Lars Holmberg, Carl Byström, Joakim Hamrén and Hugo Heyman
Stable release
2.15.1[1]
Repositorygithub.com/locustio/locust
Available inEnglish
TypeLoad testing
LicenseMIT License[2] or later
Websitelocust.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, ...


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


References

External links

Category:Load testing tools Category:Software testing