Example of load testing with locust in a grapql api in Python
To run this project, you need an access key for the Bitquery api, it can be obtained by accessing: https://graphql.bitquery.io/ide/
- Python >= 3.6 - How install Pytohn
- Pip >= 20.0.x - How install pip
Install dependencies:
$ pip install locust
Export API Key:
$ export API_KEY=YOUKEYHERE
Execute Locust
$ locust -f bitquery_graphql.py