Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Performance Testing: Introduction to k6 for Beginners
Highest Rated
Rating: 4.6 out of 5(2,450 ratings)
12,589 students

Performance Testing: Introduction to k6 for Beginners

Use k6 to write performance tests for your web apps and APIs by running load tests, stress tests and spike tests.
Last updated 11/2025
English

What you'll learn

  • Understand performance testing basics
  • Write scripts with k6
  • Create load tests, stress tests & spike tests
  • Understand performance-related metrics
  • Write checks/assertions
  • Define threasholds

Course content

9 sections91 lectures7h 42m total length
  • A brief introduction to k66:09

    Explore performance testing with k6 for beginners, learn to install, run your first test, write JavaScript assertions, set thresholds, and integrate tests with CI/CD and Grafana.

  • How to use this course3:51

    Begin your hands-on journey with K6, mastering its use through practical exercises, quizzes, and assignments. Access downloadable resources, troubleshooting guides, Q&A, and course announcements to enhance your learning experience.

  • [ACTION REQUIRED] Important change0:09
  • Installation & your first test with k610:50

    install k6 on Windows, macOS, and Linux via the official installer or homebrew, then write and run your first test using k6 in Visual Studio Code.

  • A word of caution2:38

    Exercise caution with k6 for performance testing by using approved test environments, coordinating with your team, and avoiding production, while learning to map architecture and external API impacts.

  • Understanding basic performance testing concepts5:28

    Explore basic performance testing concepts with k6, including virtual users, requests, latency, throughput, and iterations, to understand how websites cope with concurrent traffic.

  • Specifying VUs and test duration10:21

    Configure K6 performance tests by setting virtual users and test duration, use sleep to simulate pauses, and interpret iterations versus requests.

  • Understanding test results & metrics7:31

    Identify performance issues by focusing on http request duration and percentile metrics (p90, p95) in k6, and interpret results with SLOs rather than averages.

Requirements

  • The possibility of installing tools and software (K6 CLI, Visual Studio Code, Node.js, Docker Desktop)
  • Grafana Cloud account (free tier)
  • Basic JavaScript knowledge
  • The total time it will take to complete the course will he higher than the indicated course duration.

Description

Dive into the dynamic world of k6 performance testing, designed to transform beginners into proficient testers. This course emphasizes building confidence starting with the basics of JavaScript, the language that powers k6.


Here is a brief overview of the course contents:


  • Getting Started: Learn the ABCs of k6, including installation processes and how to set up your very first test. This foundational knowledge is akin to learning to ride a bike; once you've grasped the basics, advancing becomes substantially easier.

  • Introduction to Performance Testing: We shed light on the compelling world of performance testing, demystifying essential terms and unfolding the variety of tests executable using k6.

  • Advanced Techniques: Delve deeper into k6 intricacies such as validating responses, crafting assertions, and handling complex scenarios. Gain proficiency in using the K6 Command Line Interface (CLI) and explore the offerings of Grafana Cloud k6.

  • Integration with CI/CD: The course covers integrating k6 tests into renowned CI/CD servers like Jenkins, GitLab CI, and Circle CI. This segment prepares you to apply your k6 skills globally in real-world scenarios.


Why take this course?

Whether your application operates through HTTP, web service, or gRPC, k6 serves as a versatile tool, efficiently assessing performance. The course makes the learning process less demanding and more engaging for learners at all levels.


Are you ready to transform from a novice to a skilled tester? Join us on this insightful adventure into the world of k6 performance testing. Let’s embark on this learning journey together!


Legal Disclaimer

This course is an independent educational resource and is not endorsed by, affiliated with, or associated with Grafana Labs, k6, or any of their products or services. k6, Grafana, and related marks are trademarks of Raintank, Inc. d/b/a Grafana Labs. All product names, logos, and brands mentioned in this course are the property of their respective owners.

This course contains promotional materials.

Who this course is for:

  • Software Developers
  • Testers & QA Engineers
  • Site Reliability Engineers (SREs)