Free downloadLoad-Test Your App Before Launch
A free guide to Grafana k6, the open-source load-testing tool: find out whether your vibe-coded app holds up when many people use it at once, before your launch. Install, first test, the test types, thresholds, the live web dashboard and a login test, with a practice server, four ready scripts, real results from a local run, and the rules for testing safely.
What is inside
- Practice server A tiny Node server with fast, slow, CPU-heavy and flaky routes plus a demo login, so you can practise on your own laptop.
- smoke.js · load.js · spike.js Ready scripts for the main test types, with thresholds for p95 response time and error rate.
- api-login.js Each virtual user logs in once and calls a protected API route; passwords stay out of the file.
- Read the results A real summary explained line by line, and a failing run that shows how one heavy route slows every page.
- Web dashboard Watch the test live in your browser and export an HTML report.
- Rules + fixes What you may test and what not, hosting costs, and what to fix when it fails: indexes, connection pools, caching.
k6 (free, open source; Homebrew, winget, apt/dnf or Docker) and Node.js for the practice server. Your own app, running locally or on a staging server you own. Optional: Claude Code for the setup prompt. The kit is in English.