These scripts are used to test performance of local and cloud instances of the GPII. To use these scripts, you will need:
- Python 3
- Locust, which you can install using a command like
pip3 install locust
The file request-locust.py
defines a configuration that will log in and then retrieve preference data for a user.
- Start your instance from the
universal
repo using a command like:node ./gpii.js
. - Start Locust from this directory using a command like
locust --host http://localhost:8081 -f request-locust.py