When the Black Friday Surge Hits, Can Checkout Keep Up? Real Traffic, Real Load, Zero Guesswork
Wix load-tests its eCommerce purchase flow on production before Black Friday, using JMeter to replay the exact public API calls a buyer's browser makes from add-to-cart to the thank-you page, with dedicated test sites, marked traffic, sandbox payments and a human on the stop button. Claude Code rewrote the stale JMX by diffing it call by call against a recorded real order, catching bugs like an extractor silently sending empty cart IDs. During runs, a watchdog script on JMeter results and an AI agent spawning parallel subagents against production telemetry replaced on-call engineers from many teams, while the agent never acts on its own. After each run the agent traces failed requests through logs to produce per-team findings with request IDs and Jira tickets, surfacing issues like charges succeeding while buyers saw payment failures.
Related posts
- How we prepare Shopify for BFCM
Shopify Engineering mediumAdeptShopify readies for Black Friday Cyber Monday with a year-long program that runs from March to October. It combines capacity planning on Google Cloud, What Could Go Wrong risk assessments, chaos-engineering Game Days on critical journeys like checkout, and a centralized Resiliency Matrix of failure modes, RTOs and runbooks. Five scale tests at forecast and p99 load (up to 200M requests per minute) used the Genghis load generator from three GCP regions, Toxiproxy fault injection and regional failovers. The tests surfaced issues such as checkout queue backups, rate-limit paths in authenticated checkout and slow region rebalancing. The newly rebuilt analytics platform needed more Kafka partitions, API memory optimization, connection-timeout tuning and load-balancer changes before facing its first holiday peak.
- Performance Testing At Scale—for BFCM and Beyond
Shopify Engineering mediumAdeptShopify prepares for Black Friday Cyber Monday by repeatedly running full-scale load tests against production: scaling Shopify Core and dependencies (nginx routing, ProxySQL, key/value store) to their BFCM profile, layering five Cronograma-driven traffic flows (browse/buy, admin, flash sale, Storefront API, Hydrogen/Oxygen) with an abort switch, then scaling down in reverse order and running blameless retrospectives. Full-scale testing is chosen over scaled-model testing because databases and vertically scaled components don't extrapolate and many failures, such as TCP connection-count exhaustion, appear just from running a larger fleet. Practical workarounds include partially bypassing the CDN to avoid overloading a few PoPs, cache-busting requests to avoid skewed results, and single-region failover tests to verify capacity.
- Automating performance tests
Supabase mediumAdeptSupabase built its performance-testing pipeline while rewriting its WebSocket-based Realtime service, starting with manual k6 load generators on AWS VMs and adding Grafana/Prometheus to diagnose loader resource exhaustion. When load-test metric volume overwhelmed Prometheus's push endpoint, they added Telegraf as an intermediary buffer that also collects host metrics. Because k6 Cloud would have cost hundreds of thousands per year for their concurrency levels, they wrote a small Go app that runs Terraform and k6 scenarios, tears down infrastructure, tracks launch history and exposes an API for GitHub Actions. With it they have run tests of up to 1M concurrent virtual users for Supavisor and 200K for Realtime, and onboarded other services in hours to days.
- Building an End to End load test automation system on top of Kubernetes
Zalando Engineering mediumAdeptZalando's payments team built an automated end-to-end load testing system in its Kubernetes test cluster. A Go service, the load-test-conductor, deploys production versions of services, scales Kubernetes and ECS to production configuration, drives distributed Locust workers, then scales down and cleans up. External dependencies are mocked with Hoverfly, chosen after comparing several tools, and Skipper header-based routing lets shared services switch to mocks for load-test traffic. A feedback algorithm adjusts Locust user count and hatch rate each minute to hit a target orders-per-minute KPI. Tests run on a CronJob or via an API call. Results are still judged manually from Grafana dashboards and SLO alerts, and keeping the test environment production-like took the most effort, including mid-test deployments and mismatched infrastructure.
- Agentic Testing: Where Agents Fit in the E2E Testing Stack
Slack Engineering mediumAdeptAcross 200+ agent-driven E2E runs against Slack test workspaces, agents using Playwright MCP were the most reliable (0% failures on a simple thread-reply flow, ~12% on a longer search flow). Playwright CLI agents failed 12–20%, mostly from auth, navigation timing and session instability. Agent-generated Playwright tests ran fastest (~3 min including generation, ~30–45 s raw) but failed ~48% on the complex flow. Agent runs cost $15–30 each, driven by turn count and retransmitted context such as accessibility-tree snapshots rather than model choice; CLI took ~85 turns versus MCP's ~40. The recommendation is to keep deterministic tests for CI and add agentic testing as a top pyramid layer for exploration, debugging and bug reproduction.