Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 769 Bytes

File metadata and controls

34 lines (24 loc) · 769 Bytes

Stress Test Instructions

Prerequisites

  1. Backend API Gateway Public IP
  2. Frontend Load Balancer Public IP
  3. Create a firewall rule that accepts requests from public

Backend

Inside `load-generator` directory
  1. Create a virtual environment for python
python -m venv ENV
  1. Run
pip install -r requirements.txt
  1. cd into backend-load-gen
  2. Run locust
  3. Enter API Gateway IP as host and add your test values (e.g. 1000 users 15 ramp up)

Frontend

Inside `load-generator` directory. (Assuming you created virtual environment above)
  1. Create a virtual environment for python

  2. cd into frontend-load-gen

  3. Run locust

  4. Enter Load Balancer IP as host and add your test values (e.g. 1000 users 15 ramp up)