Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liamseck/k6-wpe-simple-script
Simple K6 Script
https://github.com/liamseck/k6-wpe-simple-script
Last synced: 7 days ago
JSON representation
Simple K6 Script
- Host: GitHub
- URL: https://github.com/liamseck/k6-wpe-simple-script
- Owner: LiamSeck
- Created: 2024-10-16T08:20:32.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-11-26T15:57:29.000Z (about 1 month ago)
- Last Synced: 2024-11-26T16:37:23.437Z (about 1 month ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Execution Steps
- On MacOS install K6 by running `brew install k6` or by following the [K6 Docs](https://grafana.com/docs/k6/latest/set-up/install-k6/).
- To execute the script using your local machines resources run `k6 run simple-script.js`.
- To execute the script using K6 Cloud first authenticate with K6 Cloud by running `k6 login cloud --token token_ID` then to execute the script by running `k6 cloud run simple-script.js`.
- To define the hostname at run time add the `-e HOSTNAME=domain.com` flag: `k6 run -e HOSTNAME=domain.com simple-script.js` or `k6 cloud run -e HOSTNAME=domain.com simple-script.js`.