/performance-testing-with-k6

Playground for a k6 workshop

Primary LanguageJavaScript

Performance Testing with K6

Load testing workshop, demonstrating k6

Video

Performance Testing with k6 Video

Getting started:

  • docker-compose up -d influxdb grafana
  • Load http://localhost:3000, and import the grafana_dashboard.json config to a new dashboard.
  • docker-compose run k6 run /tests/01-simple/test.js

To use cloud run

  • Create an account with LoadImpact here to use the cloud run: https://app.loadimpact.com/account/login
  • Replace LI_TOKEN in the Dockerfile with your account token.
  • docker-compose run k6 cloud /tests/01-simple/test.js to run the test in the cloud

Look through the k6 docs here: https://support.loadimpact.com/4.0/