k6-load-testing
Installation
SKILL.md
k6 Load Testing
Install and Setup
brew install k6 # macOS
sudo apt-get install k6 # Debian/Ubuntu (after adding k6 repo)
choco install k6 # Windows
docker run --rm -i grafana/k6 run - <script.js # Docker
k6 version # verify
Basic Test Script
import http from 'k6/http';
import { check, sleep } from 'k6';
export const options = { vus: 10, duration: '30s' };