Skip to content

previousnext/k6-starterkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k6 starterkit

A starterkit for load testing sites with k6.

What should I do with this starterkit?

  • Copy this starterkit into your application code base.
  • Add scenarios which are more appropriate for your project.
  • Adjust the base vitual users in the Makefile.
  • Execute a test with make run.

Example scenarios

  • basic.js - A simple script demonstrating how to check a page and wait t
  • cookie.js - How to use cookies to avoid logging into a site.
  • httpauth.js - How to test a site with http authentication configured.

Grafana dashboard

  • make start to fire up the container.
  • Visit http://localhost:3000 to view the dashboard.
  • make stop to shut everything down when you're finished.

About

Starterkit for load testing with K6 (https://k6.io)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published