testing tool PYTHON BASED – plain old Python code Simulates load from TRUE USER BEHAVIOR ACTOR or USER PROFILE based testing Swarms the system with MILLIONS OF SIMULTANEOUS USERS Helps us BATTLE test Get decisive PERFORMANCE / LOAD / SCALE METRICS BENCHMARK API endpoints
PYTHON code DISTRIBUTED and SCALABLE HACKABLE (~2500 LOC) Intuitive WEB UI Descent COMMAND LINE or - -NO-WEB support Full support for API testing – extension of python-request EXTENDABLE – can test any system
certain species of short-horned grasshoppers in the family Acrididae which possess both a solitary phase and a swarming phase. Idea is that during a test, a swarm of locusts (test users) will ATTACK your website. BEHAVIOR of each locust (test user) is defined by us SWARMING process is monitored from a web UI in REAL-TIME. completely EVENT-BASED – No complicated CALLBACKS uses LIGHT-WEIGHT processes, through gevent Each locust RUNNING INSIDE its OWN PROCESS (or greenlet)
Blocks Client() • Understands how to talk to the service you're testing • Responsible for reporting stats and errors • Only HTTP supported by default Locust() or HttpLocust() • A simulated user TaskSet() • The behavior of your locusts or users
Obtain community help and contribute! PYTHON – Quick learning, Simple installation and Coding! Simulate TRUE USER BEHAVIOR and LOAD! Simulate MILLIONS of SIMULTANEOUS USERS! Build CUSTOM CLIENTS and test anything! Use WEB UI / COMMAND LINE to RUN tests / MONITOR statistics! Define success in RESPONSE TIMES and ERROR % Can be used for FUNCTIONAL or SCALE / PERF testing