A short pass designed to be repeated under load. Each phase is timed separately, so a load run can show which step degrades.
demoload version: 1.0 DEMO-007__load_subject.py
Runs
3
Pass rate
100%
3 passed / 0 failed
Avg duration
1s
p95 1s
Estimate
1s
avg of last 10 judged runs
Flakiness
0.00
0 stable · 1 alternates
Current streak
3
passed
Duration per run point color = outcome; dashed = 7-run average; click a point to open the run
Step timing trends the same step compared across the last 3 runs — slowest steps first, one line each
How long it takes distribution of 3 runs — two humps mean two different behaviours hiding behind one average
fastest 1s · slowest 1s
Why this test failed grouped by message, last 90 days
No failures recorded. 👍
Outcomes by target version
What this test does plain language, derived from the code
- ⏱ Timed phase: open the page
- Open the app's page
- ⏱ Timed phase: fill the form
- Type “Load Test User” into #name
- Type “load@example.gov” into #email
- Choose “high” in #priority
- ⏱ Timed phase: submit and wait for the result
- Click #submit-btn
- Wait until #result appears
- ⏱ Timed phase: check the result
- Check #result contains “Load Test User”
Show the code
"""A short, realistic pass — the kind of test you put UNDER load.
A load test repeats one test many times, so the test itself wants to be
short and to exercise something worth measuring. This one does what a user
does: fill a form, submit it, wait for the answer, check the answer is right.
Each `ctx.timed()` block below becomes its own row on the load run's "which
step got slow" table, which is the point: under load you usually find that
one step degrades and the rest are fine.
"""
def run(page, ctx):
with ctx.timed("open the page"):
page.goto(ctx.base_url)
with ctx.timed("fill the form"):
page.fill("#name", "Load Test User")
page.fill("#email", "load@example.gov")
page.select_option("#priority", "high")
with ctx.timed("submit and wait for the result"):
page.click("#submit-btn")
page.wait_for_selector("#result")
with ctx.timed("check the result"):
assert "Load Test User" in page.inner_text("#result")
All runs
| Run | Status | Queued | Duration | Version | Trigger | Batch |
|---|---|---|---|---|---|---|
| #456 | passed | 2026-09-25 00:25:05 | 1s | 3.0.0 | cli-adopted | 8 tests (terminal) |
| #448 | passed | 2026-09-25 00:24:35 | 1s | 3.0.0 | cli-adopted | 8 tests (terminal) |
| #440 | passed | 2026-09-25 00:24:06 | 1s | 3.0.0 | cli-adopted | 8 tests (terminal) |