Chapter 2

The Five Test Types

Smoke, load, stress, spike, soak — when to run each.

~21 min total3 lessonsAssignment

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

  • Pick the right test for the question being asked
  • Define thresholds that fail the build on regression

Chapter assignment

A 6-test suite

Build a k6 suite in `tests/k6/` with one script per scenario type (smoke, load, stress, spike, soak) plus a registration-flow scenario. Document what each tests in a README.

See success criteria

Lesson 1 takes ~7 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