Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 652 Bytes

setup-load-generator.md

File metadata and controls

25 lines (15 loc) · 652 Bytes

Load Generator Setup Instructions

Setting up VM for load generation

  1. Create an Ubuntu VM

  2. Create a firewall rule for TCP port 8089 or whichever port the locust web interface will be run on

  3. Install Python 3.10+

  4. Create a virtual environment and activate it

  5. Install dependencies

pip install -r requirements.txt
  1. Change directory to backend-load-gen or frontend-load-gen depending on use-case and run
locust
  1. Navigate to http://<VM-ip:8089/ on your local machine to view the locust web interface and run tests