https://github.com/previousnext/k6-starterkit
Starterkit for load testing with K6 (https://k6.io)
https://github.com/previousnext/k6-starterkit
ops
Last synced: about 1 year ago
JSON representation
Starterkit for load testing with K6 (https://k6.io)
- Host: GitHub
- URL: https://github.com/previousnext/k6-starterkit
- Owner: previousnext
- Created: 2023-02-06T09:59:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-28T22:30:39.000Z (over 1 year ago)
- Last Synced: 2025-03-28T10:52:12.838Z (about 1 year ago)
- Topics: ops
- Language: JavaScript
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
k6 starterkit
=============
A starterkit for load testing sites with [k6](https://k6.io).
## 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.