Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cajames/performance-testing-with-k6
Playground for a k6 workshop
https://github.com/cajames/performance-testing-with-k6
Last synced: 26 days ago
JSON representation
Playground for a k6 workshop
- Host: GitHub
- URL: https://github.com/cajames/performance-testing-with-k6
- Owner: cajames
- Created: 2019-07-29T16:10:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-12T05:50:19.000Z (almost 2 years ago)
- Last Synced: 2024-08-03T09:04:48.411Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 3.16 MB
- Stars: 87
- Watchers: 6
- Forks: 76
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome-learning - Performance Testing with K6
README
# Performance Testing with K6
> Load testing workshop, demonstrating k6
## Video
[![Performance Testing with k6 Video](https://img.youtube.com/vi/Hu1K2ZGJ_K4/0.jpg)](https://www.youtube.com/watch?v=Hu1K2ZGJ_K4)
## 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](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 cloudLook through the k6 docs here: https://support.loadimpact.com/4.0/