K6 performance test
Here is a Beginner k6 Learning Syllabus + API Performance Examples designed specifically for you (Automation QA → Selenium → Playwright → API Testing → Performance Testing) 🚀 🚀 Beginner k6 Learning Syllabus Module 1 — Performance Testing Basics Before learning k6 , understand: What is Performance Testing? Load Testing Stress Testing Spike Testing Endurance Testing Important Terms Term Meaning VU Virtual Users TPS Transactions per second Response Time API response duration Throughput Requests per second Latency Time before request starts Module 2 — Installing k6 Ways to Install: Chocolatey (You tried already) Winget Download Binary Verify: k6 version Module 3 — First k6 Script Create file: test.js Code: import http from 'k6/http'; export default function () { http.get('https://test.k6.io'); } Run: k6 run test.js Module 4 — Virtual Users (Load Testing) Example: import http from 'k6/http'; export const options = { vus: 10, duration: '10s', }; ...