Skip to content
Dev.to1 min read

Grafana k6 Has a Free API That Load Tests Your...

k6 is a load testing tool that uses JavaScript for test scripts. Run locally, in CI/CD, or in the cloud. Write tests like you write code — not XML configs. Quick Start # Install brew install k6 # macOS sudo apt install k6 # Ubuntu # Run a test k6 run script.js Basic Load Test import http from 'k6/http' import { check, sleep } from 'k6' export const options = { vus: 50, // 50 virtual users duration: '30s', // for 30 seconds } export default function () { const res = http.get('https://api.example.
Read original on dev.to
0
0

Comment

Sign in to join the discussion.

Loading comments…

Related

Get the 10 best reads every Sunday

Curated by AI, voted by readers. Free forever.

Liked this? Start your own feed.

0
0