Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 1.19 KB

README.md

File metadata and controls

20 lines (17 loc) · 1.19 KB

Load Testing Looker's API with LocustIO

This locustfile can be used to generate many simultaneous requests that download look results from the Looker API.

How to get started

  • Install LocustIO
  • Create a config.yml file with your API connection credentials
  • From your working directory, start locust --host=ucalgary (the host must match the name of a node in your config.yml file)
    • You can also run locust distributed with multiple workers and really shake things out 💪
  • Now, visit http://127.0.0.1:8089 to summon some locusts
    • You can simulate hundreds of simultaneous users
    • Each user will request results for random looks from your instance
    • If you want to change the behaviour, modify locustfile.py

Request Statistics

The LocustIO web interface will show you request timing statistics for each look: Screenshot of requests

Performance Charts

As well as correlated charts for requests per second, response time, and number of users: Screenshot of charts