- Install Locust
pip install
brew install locust - locally
-
Config the path and payload in test scripts
-
Run tests headless locust -f ./test_scripts/test_get_api.py -u 100 -r 10 --host -t 5m --headless
visual: locust -f path/to/test_script --host open http://localhost:8089/ to check result or reset parameters