load-testing-commerce

Simulate realistic shopper traffic on checkout and catalog pages using k6 or Artillery.

3|1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/tomtoto757/ecomm-ai-team --skill load-testing-commerce-tomtoto757
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: load-testing-commerce
Source: https://github.com/tomtoto757/ecomm-ai-team/tree/main/skills/platform-integrations-infrastructure/finsilabs/infrastructure-performance/load-testing-commerce
Command: npx skills add https://github.com/tomtoto757/ecomm-ai-team --skill load-testing-commerce-tomtoto757

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? E-commerce teams often launch flash sales or major releases without knowing whether their checkout and catalog infrastructure can handle the traffic spike, leading to slow pages, failed orders, and lost revenue discovered only in production. ## Core Features & Use Cases - Realistic Shopping Scenarios: Build k6 and Artillery load tests that model actual traffic distribution (60% browse, 25% product detail, 10% cart, 5% checkout) with think time between steps. - Platform-Specific Guidance: Covers Shopify (frontend performance via PageSpeed Insights), WooCommerce (Loader.io against staging), and custom/headless stacks (k6/Artillery with ramping-arrival-rate executors). - Safe Test Practices: Enforces staging-only testing, Stripe test payment tokens, and tagged test emails for bulk cleanup of test orders. - Use Case: Before a Black Friday sale, run a k6 checkout-flow test against staging at 2x expected peak, verify p95 checkout latency stays under 3000ms, and fix database bottlenecks before real customers arrive. ## Quick Start Write a k6 load test for my staging storefront that simulates realistic browsing and checkout traffic with appropriate thresholds before our upcoming flash sale.

Frequently Asked Questions about load-testing-commerce

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I load test an e-commerce checkout flow with k6?▼

Use k6 with the ramping-arrival-rate executor to control requests per second, model scenarios like catalog browsing and checkout separately, and add sleep() calls between steps to simulate think time. Set thresholds such as checkout p95 under 3000ms and error rate below 1%.

k6 vs Artillery for e-commerce load testing?▼

k6 is scriptable in JavaScript and suits detailed multi-scenario shopping flows with custom metrics and thresholds. Artillery uses YAML configuration and works well for API-focused testing with weighted scenarios and response capture for request chaining.

Can I load test my Shopify store before a flash sale?▼

Shopify's infrastructure scales automatically, so meaningful server load testing is not possible. Focus on frontend performance with Google PageSpeed Insights and Lighthouse CI, audit third-party app scripts, and Shopify Plus merchants can notify support 48 hours before major launches.

Why does my k6 test exhaust VUs before reaching target RPS?▼

This happens when using ramping-vus, which controls concurrent users rather than request rate. Switch to the ramping-arrival-rate executor and increase preAllocatedVUs and maxVUs so the arrival rate target can be sustained.

Is it safe to run load tests against production payment processors?▼

No. Always run load tests against a staging environment and use test-mode payment tokens such as Stripe's tok_visa. Tag test orders with a recognizable email domain like @test-load.invalid so test data can be bulk-deleted afterward.