Locust script for testing oTree apps
This code will work with the most recent version of oTree. For older ones, a slightly different approach is needed. DM me.
pip install locust
locustin a folder where the
In browser go to http://localhost:8089
- Copy the Session-wide link and paste to Locust. Provide number of users (corresponding to number of users in a session you created), and the speed of hatching (how quckly they join the game.)
- Observe how they start playing and the response times, and if there are any failures there.