Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 626 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 626 Bytes

Load Testing a GraphQL API with Locust in Python

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/

Requirements

Getting Started

Install dependencies:

$ pip install locust

Running

Export API Key:

$ export API_KEY=YOUKEYHERE

Execute Locust

$ locust -f bitquery_graphql.py