Chapter 1

k6 Fundamentals

Install, write your first test, understand the output.

~16 min total3 lessonsAssignment

By the end of this chapter you'll be able to

  • Install k6
  • Write a 20-line test
  • Read the summary at the end

Chapter assignment

Run your first test

Install k6, write a 20-line script against your Grit API's /healthz endpoint, run it with 10 VUs for 30 seconds, and paste the summary into notes.md. Explain in 2 sentences what p95 means in plain English.

See success criteria

Lesson 1 takes ~5 min.

Start chapter

Spot a typo? Have an idea?

Help us improve this chapter. One click opens a GitHub issue with this chapter's URL pre-filled — suggest a clearer wording, report a bug, or request a new lesson. The course keeps improving thanks to learners like you.

Suggest an improvement on GitHub