Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

K6 Beginner Tutorial - Checks and Thresholds - Part 3

Automation Step by Step via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to enhance K6 performance testing scripts with essential validation and configuration features in this comprehensive tutorial. Master adding load configuration with virtual users (VUs) and duration settings, storing HTTP responses for analysis, implementing checks as assertions to validate response status codes, and setting up thresholds to define pass/fail criteria for tests. Discover how to make scripts configurable using environment variables and understand the mental model of K6 testing that answers four critical questions: what users do, how many users, how long tests run, and what results are acceptable. Follow along with practical code examples including setting up 5 virtual users for 10 seconds, checking for 200 status codes, defining 95th percentile response time thresholds under 500ms, and using environment variables for flexible base URL configuration.

Syllabus

What we will learn
Add Load Configuration VUs & Duration
Store the Response
Add Checks Assertions
Add Thresholds
Environment Variables
Summary

Taught by

Automation Step by Step

Reviews

Start your review of K6 Beginner Tutorial - Checks and Thresholds - Part 3

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.