Performance / Quiz

k6 Scripting Judgment

Checks vs thresholds, executors for open vs closed load, sleep, and the assertions that make a run trustworthy.

Difficulty
Hard
Format
Quiz
Points
200
Estimate
10 min

// MISSION BRIEF

Your Mission

k6 makes it easy to generate load and just as easy to generate nonsense. This quiz is about the judgment calls: what checks and thresholds actually do, which executor models your traffic, and why a run with no assertions can "pass" against a stream of error pages.

// FIRST CONTACT

Battle teaser

In k6, checks vs thresholds:

  1. AChecks fail the run; thresholds are informational
  2. BNeither affects the exit code
  3. CThey are the same feature
  4. DChecks are per-response assertions (informational, do not fail the run); thresholds are pass/fail criteria (e.g. p95<500ms) that set the exit code
Answers, scoring, hints, and the full battle stay sealed.

// SKILL TAGS

performancek6thresholdsload-testing