Problem
The stress test found checkout queuing beyond about 90 orders per second, with p95 response time above 3 seconds.
Featured project | Performance
Smoke, load, stress, spike and soak tests of a shop API kept in the repository; SLOs per endpoint as k6 thresholds that fail the CI job, open and closed workload models, and an HTML dashboard per run.
The stress test found the limit of the demo shop: past about 90 orders/s checkout queued without bound (p95 over 3 s). After adding load shedding, the same test stays under 650 ms.
Evidence checked 19 Nov 2026 | Performance workflow run #70
Shows how I approach performance testing: one test per question, pass/fail criteria agreed up front, realistic workload models, and results that lead to a fix. The app under test, a small shop API, is part of the repository, so the tests never put load on someone else's server and every CI job measures its own copy.
k6/tests/*.js scenarios (who, how many, which executor) + thresholds (SLOs)
│
k6/lib/flows.js journeys browse() and buy(): checks, think time, business metrics
k6/lib/api.js one function per endpoint, stable name tag per request
k6/lib/config.js BASE_URL, PROFILE (ci | full), THINK
│
QuickShop (app/) started by each CI job; checkout limited by 8 "database connections"| Area | Tools |
|---|---|
| Load testing | Grafana k6 2.3 (scenarios, executors, checks, thresholds, custom metrics) |
| Scripts | JavaScript ES modules (k6 runtime) |
| App under test | QuickShop: Node.js 24 HTTP API, no dependencies, with functional tests |
| Reports | k6 web dashboard (HTML), Markdown summary per run, JSON of every metric |
| Code quality and CI | ESLint, Prettier, GitHub Actions: lint, smoke gate, load/stress/spike in parallel, nightly soak |
The stress test found checkout queuing beyond about 90 orders per second, with p95 response time above 3 seconds.
Add load shedding and rerun the same stress-test profile so the comparison uses the same workload definition.
Past about 90 orders/s, checkout queued without bound and p95 exceeded 3 seconds.
After load shedding, the same test stayed under 650 ms.
Evidence checked 2026-11-19 | Performance workflow run #70
Scope: The result applies to the demo shop and linked test profile; it is not a capacity guarantee for another deployment.
Project-specific checks and execution details documented in the repository:
Historical performance workflow run
Performance workflow run #70
The stress test found the limit of the demo shop: past about 90 orders/s checkout queued without bound (p95 over 3 s). After adding load shedding, the same test stays under 650 ms.
Evidence checked: | Open dated evidence
Static screenshots are labelled as images; dated workflow links identify the execution evidence and its check date.
Static material from the public repository. The linked verification record was checked 2026-11-19; that date is not a screenshot capture date.
Dated workflow record
Evidence checked 2026-11-19. Open Performance workflow run #70
npm install
npm start # QuickShop on http://localhost:3000
k6 run k6/tests/smoke.js
k6 run k6/tests/load.js
k6 run -e THINK=0 k6/tests/stress.js
k6 run -e PROFILE=full k6/tests/load.js # realistic size and duration