In this step-by-step tutorial, we are getting started with k6 by Grafana for Load Testing.
k6 docs: https://k6.io/docs/get-started/instal...
source code: https://github.com/razvanvancea/learn...
=========
🌍 My website: https://razvanvancea.ro/
🌍 Tech Blog: https://razvanvancea.ro/blog/
🌍 LinkedIn: / razvanvancea
🌍 Twitter: / razvanvancea
-- Content --
0:00 - Intro
0:15 - Installation
1:18 - Create script for GET crocodiles
6:18 - running k6 tests from CLI
8:06 - passing vus and duration from CLI
9:44 - create script for POST user registration
13:48 - random values for request body
16:50 - debugging failed POST tests