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
/loginpage
- load the
- view_signup
- load the
/signuppage
- load the
- signup
- sends POST request to
/signupto create a new user
- sends POST request to
- view_index
- load the
/homepage
- 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
/loginwith stored credentials
- sends POST request to
- logout
- sends a
/logoutPOST request
- sends a
FRONTEND_ADDR- the address and port of the
frontendservice
- the address and port of the
USERS- The number of concurrent users to simulate
LOG_LEVEL- The logging level (default: INFO)