- Place the latest copys of credentials.py and Answers.py in the initial_configuration folder.
- Ensure you have requests and json library installed . In case not, you can use pip for installing them.
- configure the host in host.py by editing host.py
- Run buildcookies.py that will take significant time and will generate "cookies.py"
- Ensure that quizid.py exists and was executed once to store the quizid. Also ensure that buildcookies.py was successfully executed.
- Execute buildkeystate.py this will generate the "keystate.py" file.
- Also execute coursecode.py in order to store the coursecode.
$ locust -f <API.py> example to run quiz_info use : locust -f quiz_info.py