Skip to content

drewgillson/looker_api_locustio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Use LocustIO to load test Looker via the API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%