I'm doing a pressure test using the
command-line browser bots feature provided by otree. I plan to first launch browser bots with local host, and then move on to test my Heroku server. By the way, my otree version is 3.4.0, for both local and Heroku server.
I've read the documentation several times yet I'm still confused with some steps outlined in the "Command-line browser bots" section.
First, I'm not sure how to set OTREE_REST_KEY correctly for the local server after reading the "REST" section of the documentation. I just added the following line of code to the settings.py but have no idea how to make use of it:
OTREE_REST_KEY = 'some-secret-value'
Second, I don't know how to run "otree browser_bots mysession" after running my server in the command line, since after running my server, it seems impossible for me to execute any command: