The load generator continuously sends requests imitating users to the frontend service. Pages are loaded, new accounts are periodically created, and transactions between accounts are created.
Implemented in Python with Locust.
- view_login
- load the
/login
page
- load the
- view_signup
- load the
/signup
page
- load the
- signup
- sends POST request to
/signup
to create a new user
- sends POST request to
- view_index
- load the
/home
page
- load the
- view_home
- load the / page
- payment
- POST to
/payment
, sending money to other account
- POST to
- deposit
- POST to
/deposit
, depositing external money into account
- POST to
- login
- sends POST request to
/login
with stored credentials
- sends POST request to
- logout
- sends a
/logout
POST request
- sends a
FRONTEND_ADDR
- the address and port of the
frontend
service
- the address and port of the
USERS
- The number of concurrent users to simulate
LOG_LEVEL
- The logging level (default: INFO)