Ecommerce Load Testing for Checkout and Peak Traffic

Ecommerce Load Testing for Checkout and Peak Traffic

Performance optimization
17 min read Published: Last Updated:
Performance optimization
Ecommerce Load Testing for Checkout and Peak Traffic

Summary

Key takeaways

  • Ecommerce load testing checks whether a store can handle a defined level of traffic while shoppers search, add items to the cart and place orders within agreed response-time and reliability targets.
  • For an ERP-connected store, the test also has to prove that accepted orders reach fulfillment with the right price, inventory and payment state.
  • A storefront can stay online during a sale while paid orders build up in a growing queue. Sign off on three outcomes before launch: forecast traffic was sustained, orders were correctly priced and accepted orders reached the ERP or fulfillment system on time.
  • Smoke and baseline, load, spike, soak and stress tests answer different questions. Plan them as separate runs.
  • Build the workload from the busiest five-minute intervals of a comparable campaign, not from hourly averages that hide the burst when the campaign goes live.
  • Track session starts per second, requests per second, virtual users and successful orders per minute as separate measures. Use an arrival-rate model for campaign bursts and verify the rate actually achieved.
  • Replay the journeys that create and fulfill orders: browse and search, cart and checkout, payments and retries, B2B ordering and the order handoff to the ERP or OMS.
  • Choose tools by the problem. Use analytics and CDN logs for the demand model, k6 or JMeter for load, browser tools for the shopper experience and APM tracing to find the cause of slowdowns.
  • Each platform has its own limits and test rules. Salesforce B2C Commerce requires a week’s notice, Shopify throttles automated traffic, and commercetools caps its peak test profile.
  • Agree pass thresholds before testing for workload, checkout latency, order integrity and ERP recovery, and hold the launch when a mandatory gate fails.

When this applies

This guidance is for ecommerce teams preparing for flash sales, product drops, seasonal peaks or campaign launches, and for teams whose platform migration, checkout change or ERP integration changes the order path. It covers Magento Open Source and Adobe Commerce, Adobe Commerce as a Cloud Service, Shopify Plus, Salesforce B2C and B2B Commerce, BigCommerce, SAP Commerce Cloud, commercetools, Medusa.js, Shopware and WooCommerce. It is especially relevant for B2B stores with account-specific pricing, large carts, quotes and approvals, and for any store where payment, tax, shipping or ERP services sit on the path to a completed order. QA, engineering, payments and integration owners can use the workload model, the journey list and the launch gates to make an evidence-based go or hold decision.

When this does not apply

A full load testing program is not needed for small stores with steady, low traffic and no planned surges, where normal monitoring and occasional performance checks are enough. If the store already fails at normal demand, run a code, performance and infrastructure audit before adding load. Teams should not run high-volume tests against managed platform endpoints, payment providers, tax services or ERP systems without approval, because many providers set notification windows, throttles or test-environment rules. Results from other projects, such as the PSP Pharma or Champion figures, show what was achieved in specific engagements and are not capacity targets for another store.

Checklist

  1. Pull the busiest five-minute intervals from the last comparable campaign using CDN logs, checkout events and order records.
  2. Forecast the peak session start rate and split it into browse, cart and checkout journeys using real funnel data.
  3. Add signed-in B2B traffic such as reorders, large carts and quotes if it overlaps with the retail peak.
  4. Choose an arrival-rate or fixed-user model and confirm the load generator can reach the planned rate.
  5. Prepare a test environment with a realistic catalog, price books, carts, caches, background jobs and data volumes.
  6. Seed test accounts and orders, isolate credentials and fulfillment and route emails and SMS to test destinations.
  7. Confirm the scope, notification windows and limits with each platform and provider before generating traffic.
  8. Simulate payment, tax, shipping or ERP endpoints where their test capacity is limited, with normal latency, slow responses and errors.
  9. Run a smoke test that places and reconciles a test order before ramping up.
  10. Hold forecast load with stock and price jobs running, then run spike, soak and stress scenarios where allowed.
  11. Add checks for correct order totals and stock, not just successful HTTP responses.
  12. Run a few real browser journeys during the load to catch slow mobile checkout.
  13. Record test purchase IDs, platform order IDs, payment references, ERP order IDs and timestamps, and reconcile them after ramp-down.
  14. Rehearse one slow dependency and one duplicate delivery to confirm retries keep one payment and one downstream order.
  15. Compare results with the agreed gates for workload, checkout latency, order integrity and ERP recovery, then rerun the same workload after any fix.

Common pitfalls

  • Treating a store that stays online as proof of success while paid orders pile up in a queue.
  • Building the workload from hourly averages and missing the burst when a campaign goes live.
  • Confusing session starts, requests per second, virtual users and orders per minute.
  • Not checking whether the load generator achieved the planned arrival rate, so slower journeys quietly reduce the load.
  • Counting HTTP success as checkout success when the order total, stock or payment state is wrong.
  • Letting high browse volume hide checkout failures by using one combined pass threshold.
  • Testing without the stock, price and indexing jobs that normally run during peak trading.
  • Sending synthetic traffic to payment, ERP or managed platform endpoints without approval or notice.
  • Reading p95 and p99 latency without the sample count, especially for low-volume B2B flows.
  • Launching after a failed mandatory gate, or changing several conditions between runs so results cannot be compared.

Ecommerce load testing measures whether an online store can handle a defined level of traffic while shoppers search, add items to cart, and place orders within agreed response-time and reliability targets. For an ERP-connected store, the test also checks whether accepted orders reach fulfillment with the right price, inventory, and payment state.

Elogic Commerce recommends signing off on three measures before a high-traffic launch. Verify the store sustained forecast arrivals, buyers could place correctly priced orders, and accepted orders reached the ERP or fulfillment system on time. Rehearse those outcomes with the browse, checkout, and B2B traffic you expect, while the usual inventory and pricing jobs run. A storefront can stay online throughout a sale while paid orders sit in a growing queue.

What ecommerce load testing measures

Load testing is one part of ecommerce performance testing. It measures system behavior at planned demand. Browser performance testing measures what a shopper sees and can interact with. Use both during a rehearsal so a fast API response and a slow mobile checkout can be diagnosed independently.

TestWhen to use itWhat it tells you
Smoke and baselineBefore ramping up, replay a small number of complete orders and then a typical trading period.The scripts work, orders reconcile, and you have timings to compare with the peak.
LoadHold forecast traffic for the agreed peak window.Checkout and order processing can sustain the planned rate within their targets.
SpikeReproduce a sudden surge from a product drop, sale announcement, or campaign email.Caches, application capacity, and queues recover as demand jumps.
SoakSustain the agreed rate long enough to overlap with scheduled jobs and expose slow degradation.Memory, connections, and queue age stay within operating limits.
StressStep above expected load in an isolated environment within the approved scope.You can identify the first constraint and measure recovery after demand falls.

Build the workload from the busiest minutes

Pull five-minute intervals from the last comparable campaign using content delivery network (CDN) logs, checkout events, and order records. Use analytics for device, region, and journey mix. Identify popular SKUs and measure how much traffic reaches the origin behind the CDN. A one-hour average can hide the burst when the campaign goes live. Grafana’s guide to modeling load from production telemetry

A worked example for peak traffic

Suppose the busiest five minutes of the last sale brought 9,000 session starts. That is 30 starts per second. If the next campaign plan forecasts 30% more traffic in a similar window, rehearse 39 session starts per second. Divide those starts into mutually exclusive journeys using actual funnel data. An illustrative split per second is 28 browse and search journeys, seven cart journeys without checkout, and four checkout-bound journeys. The checkout journeys also include browsing and cart work.

Track session starts per second, HTTP requests per second (RPS), virtual users (VUs), and successful orders per minute as distinct measures. At 39 starts per second and a 90-second mean journey duration, about 3,510 sessions are active on average at steady state. Requests per second depend on how many calls each path makes. If the store also serves dealers, model signed-in reorder and quote traffic from portal and ERP logs and schedule it alongside the retail peak when the two overlap.

Use an arrival-rate workload for a scheduled campaign burst so new sessions keep starting at the planned rate if journeys slow down. A fixed-user workload is useful when you want to know what happens with a defined group of active buyers, such as a dealer portal. Compare the scheduled and achieved start rate. Dropped iterations indicate missing work and can come from load-generator capacity or from journeys taking longer and consuming more VUs. Grafana k6 workload models · Dropped iterations

Rehearse the journeys that make and fulfill orders

JourneyWhat to replayWhat must pass
Browse and searchMobile campaign landing page, popular SKUs, long-tail filters, product options, and a planned cache refresh.Warm and cold paths hold their own latency targets. Search and availability stay correct.
Cart and checkoutGuest and signed-in carts, a promotion, shipping and tax quotes, and contention for a limited-stock item.Totals and stock follow the business rules. Checkout remains responsive as orders compete for inventory.
Payment and retryA successful payment, expected decline, delayed callback, and customer retry after a timeout.Each successful purchase produces one order and one intended charge. Failed attempts leave inventory and payment state consistent.
B2B orderingCompany sign-in, account-specific pricing, a large SKU list, reorder, and quote approval where used.Buyers see only their own terms. Large orders and quote-to-order conversion meet their targets.
Order handoffOrder events and webhooks enter middleware, the ERP, or the order management system (OMS) while a stock or price feed runs.Every accepted order reaches the system of record once. Inventory and order status reconcile and the queue returns to normal.

Choose tools by the problem you need to find

Start with Grafana k6 for a new test suite that needs a scheduled arrival rate and pass criteria in continuous integration. Choose Apache JMeter when your team can extend a maintained test plan. On Champion’s Adobe Commerce flash-sale project, Elogic Commerce used JMeter to reproduce the load and New Relic to trace what slowed down as traffic climbed. Champion flash-sale case study

ToolUse it forWhy it matters at scale
GA4, CDN logs, and order recordsBuild the demand model from browse, cart, and purchase events. Cross-check server traffic and order counts.Finds short surges and hot routes an hourly average obscures. Separates storefront traffic from completed transactions.
Grafana k6Script HTTP or API journeys, schedule arrival rates, and gate a run on per-journey thresholds.Shows whether campaign arrivals can continue at the required rate as cart or checkout slows. Flags work the generator could not start.
Apache JMeter and Adobe’s Commerce fixture generatorReuse maintained JMeter plans or build custom sessions and checkout assertions. Generate an appropriately sized Magento test catalog, then add your own data and journeys. Run traffic in JMeter CLI mode.Exposes issues that appear with large catalogs, concurrent writes, and realistic account, cart, and product variation.
Playwright or k6 browserRun a small number of actual browser journeys during the API load, including mobile checkout and app interactions.Catches slow rendering or a blocked checkout interaction while service-level metrics still look healthy.
Lighthouse, Chrome UX Report, and first-party real-user monitoringUse Lighthouse for a repeatable lab diagnosis. Use field data to track real shopper experience by device and journey when your instrumentation supports it.Shows whether the browser is the constraint and whether the fix helps shoppers under real network conditions.
New Relic APM, Salesforce B2C Commerce Code Profiler, Blackfire, or TidewaysTrace a slow operation into database calls, platform code, or an external service using the tooling available on your stack.Shows whether slow checkout comes from application code, lock contention, or a dependency. The diagnosis determines where added capacity or a code fix will help.

Use k6 checks or JMeter assertions to verify the expected result of each journey. A response can succeed at HTTP level and still carry the wrong order total. Apply pass thresholds to the rate of correct orders and to latency for each critical flow so the volume of browse traffic cannot hide checkout failures. Grafana’s checks and thresholds guide

GA4 ecommerce events · k6 thresholds · JMeter CLI · k6 browser · Web Vitals · New Relic transaction traces · Salesforce site performance

Prepare the test environment

Use a provider-supported environment with realistic catalog sizes, price books, carts, cache behavior, background jobs, and data volumes. Keep a record of differences in compute, quotas, and dependencies between the test and live systems. Seed test accounts and orders, isolate credentials and fulfillment, and route emails and SMS to test destinations. Agree on the test window, who can stop the run, and the recovery steps before generating traffic.

Seed B2B companies, buyer roles, and contract price lists. Include a large cart from your order history. Measure system latency after approval separately from the time a quote waits for a person. Carry a journey ID through a headless storefront, its APIs, and middleware to trace a slow order. Elogic Commerce’s B2B customer portal development practice

Use a simulator for high-volume calls to payment, tax, shipping, or ERP systems when those endpoints have limited test capacity or are outside the approved scope. Reproduce normal latency, slow responses, and the errors your telemetry shows. Verify data contracts and state changes separately with a low-volume end-to-end run in approved environments. If payment throughput is material to the launch decision, coordinate a provider-approved validation that covers it.

Start with a smoke test that places and reconciles a test order. Ramp to normal load, hold the target demand, and check that the generator keeps up. Run spike and soak scenarios where the provider permits them. Keep normal scheduled workloads running when measuring a representative peak. Use a controlled run with one changed condition if you need to isolate a bottleneck.

What to test on your ecommerce platform

The storefront, platform, and integrations may have different owners. Agree which endpoints are in scope for high-volume testing. Platforms Elogic Commerce works with

Magento Open Source and Adobe Commerce

Use the Commerce Performance Toolkit’s fixture generator to size the test catalog. Script search, signed-in pricing, stock reservation, and checkout in JMeter or k6. Compare cached pages with requests that reach the application, including after reindexing. Trace PHP workers, database locks, search, and queue consumers as applicable. Follow Adobe’s staging and production guidance to choose a comparable environment. Elogic Commerce’s Magento performance testing guide · Adobe fixture generator · Adobe Commerce cloud testing

On Hyvä, measure browser interactions and replay the installed checkout and its payment, shipping, and extension logic. Elogic Commerce’s FlexShopper case reports average page load time falling from seven seconds to two under high traffic after a Hyvä migration with checkout and integration work. FlexShopper case study · Hyvä development for Adobe Commerce

For Adobe Commerce as a Cloud Service, scope the test to the storefront, Commerce APIs, and the App Builder extensions, webhooks, or middleware you operate. Verify the applicable service limits and the approved environment with Adobe. Measure webhooks that block buyer actions separately from order events processed after checkout. Adobe Commerce SaaS limits · Adobe webhooks overview

Shopify Plus

Rehearse launch traffic through your theme or headless storefront. Include promotions, Shopify Functions, and checkout extensions where used. For B2B, test company location, catalog, and payment terms together. Confirm scope with Shopify for synthetic traffic to managed endpoints. Shopify applies controls to automated Storefront API traffic and imposes a separate checkout creation throttle. Elogic Commerce’s Kramp project used Infor M3 as the inventory source for more than 250,000 SKUs across three sales channels, so peak readiness includes inventory and order synchronization. Shopify API limits · Kramp case study · Shopify Plus development

In its 2025 Black Friday and Cyber Monday engineering write-up, Shopify described replaying browsing, cart, and checkout across regions and rehearsing dependency failures. Apply that approach to your storefront and middleware within your authorized scope. Check that order ingestion recovers when a dependency slows or an order event is delivered twice. Shopify’s BFCM preparation · Shopify webhook delivery guidance

Salesforce B2C Commerce and B2B Commerce

For Salesforce B2C Commerce, test the Storefront Reference Architecture (SFRA) controllers or the PWA Kit storefront and Shopper APIs, depending on the implementation. Include custom cartridges, promotions, and external calls. Salesforce requires at least one week’s notice to B2C Commerce Support. Confirm whether the run belongs on a designated test realm or a supported production instance and check the holiday moratorium. Orders placed on a live storefront during the test count toward gross merchandise value (GMV). Elogic Commerce’s Disney case traces a storefront delay to dynamic content rendering and reports that time to interaction fell about 40%, from 2.5 seconds to 1.5. Salesforce B2C load test notification · Holiday load testing policy · Disney case study

For Salesforce B2B Commerce, exercise account entitlements, price books, large carts, and custom pricing, tax, or shipping calculators. Arrange a test environment with Salesforce for this product. Elogic Commerce’s Ethigen procurement portal illustrates the workflow. It used customer-specific catalogs and prices and depended on Epicor for availability, invoices, and shipping. Salesforce Cart Calculate API · Ethigen case study · Salesforce Commerce Cloud consulting

BigCommerce

Rehearse the checkout buyers use. On headless, measure GraphQL query cost and end-to-end latency. On B2B Edition, cover Buyer Portal ordering and quotes. Where a BigCommerce store has a REST API quota, its apps share it. Run a catalog or stock job alongside orders and watch HTTP 429 responses and queue age. Elogic Commerce’s DMI portal supports a 150,000-product catalog and draws commercial data from Microsoft Dynamics NAV. BigCommerce API rate limits · DMI case study · BigCommerce development

SAP Commerce Cloud and composable platforms

StackWhat to prove at peak
SAP Commerce CloudRehearse the storefront and Omni Commerce Connect (OCC) APIs with search or catalog jobs and S/4HANA pricing or availability calls where used. Observe time spent in the application, search, and ERP under the same load. Schedule any scale test with the platform team. SAP performance testing guidance
commercetoolsTest storefront and API orchestration from cart through order, including slow ERP responses and concurrent cart updates. Use non-production Projects. The published peak test profile is capped at 20 minutes including its ramp-up. Check your allowance. Elogic Commerce connected Enzio’s commerce stack to SAP S/4HANA. commercetools load testing · Enzio case study
Medusa.jsTest storefront APIs and the order workflows behind them. Measure server response, Postgres load, and worker backlog during imports and order processing. Elogic Commerce’s Manutan case reports a 64% reduction in order API response latency after its Medusa.js and Node.js replatforming. Medusa worker mode · Manutan case study

Shopware and WooCommerce

On Shopware 6, exercise sales-channel search and pricing during imports or indexing, and monitor scheduled tasks, queue consumers, and cache behavior. Elogic Commerce’s 0815 engagement supported optimization on a Shopware catalog of more than 90,000 products during peak trading. The case reports a 32% reduction in average response time. Shopware queues and scheduled tasks · 0815 case study

On WooCommerce, test dynamic cart and checkout, payment and shipping plugins, High-Performance Order Storage (HPOS) where enabled, and delayed scheduled actions. The important question on an established store is whether order writes and plugin work can keep pace while the campaign is still sending traffic. WooCommerce HPOS guidance for large stores · Elogic Commerce’s WooCommerce practice

ERP-connected B2B stores

Include an approved quote and a large reorder with negotiated prices. Replay the approval and order handoff while the same customer’s stock and price updates are running. Check the buyer’s view, the stored order, and the ERP quantities and totals. For Armacell, Elogic Commerce built an Adobe Commerce ordering portal that mirrors SAP S/4HANA rules for validation, approval, and multi-warehouse fulfillment. The published case reports that average order approval time fell to one-fifth of its previous level in the initial markets after the workflows were introduced. Armacell B2B portal case study · Ecommerce ERP integration services

Elogic Commerce case studies on checkout and order reliability

PSP Pharma production load testing

Elogic Commerce ran two production load tests on PSP Pharma’s Magento platform after reworking database writes and moving blocking work to asynchronous processing. The second run sustained 6,000 virtual users for more than 30 minutes at steady state. The case reports 0.09% HTTP request failures across 4.16 million requests and zero HTTP 5xx responses during the test.

The placeOrder failure rate was 1.15% of order attempts in the same test, down from 12.0% in the 3,000-VU comparison run. Cart operations stayed below 560 ms at p95, while order commit was about 7.1 seconds at p95. Read each operation against its own latency and failure target when deciding whether checkout can handle the forecast. PSP Pharma production load testing case study

Champion flash sale stress testing

On Champion’s Adobe Commerce project, Elogic Commerce traced delays to code execution, database queries, and synchronous operations. The team refactored critical paths, changed indexing, and moved selected noncritical operations off the request path. The post-fix flash-sale simulation validated roughly 15,000 concurrent users. The case reports a 40-50% improvement in page response time under peak load and zero order failures reproduced in the post-fix stress test. Champion Adobe Commerce performance case study

Transcat order delivery to Oracle ERP

On Transcat’s Adobe Commerce B2B project, Elogic Commerce reported that approximately 8% of submitted orders were failing to reach Oracle ERP cleanly. The team hardened the payment, tax, and shipping steps and rebuilt order handoff with validation, safe retries, and reconciliation. The case reports that order-to-ERP failures fell to under 0.3% after remediation. Transcat Adobe Commerce rescue case study

Diagnose checkout and order failures under load

A successful checkout is one logical purchase that creates the correct order and applies the intended payment state under the store’s business rules. Count each unique test purchase once, even if a timeout triggers retries. Use a separate assertion for planned declines. For ERP handoff, measure from storefront order acceptance to a validated order in the receiving system. A delivered webhook records an intermediate step.

Record the test purchase ID, platform order ID, payment reference, ERP order ID, and timestamps. Compare accepted orders with downstream records to find orders that are late, missing, or duplicated. Add queue age and retry counts so you can tell whether workers are clearing the backlog after traffic falls. Elogic Commerce’s integration failure examples · AWS guidance on queue backlogs

Signal under loadWhat to checkWhere to act
Cached pages stay fast and checkout slowsCompare checkout traces and database lock waits with cached browse timings.Inspect order writes and synchronous calls before adding storefront capacity.
App or ERP requests are throttled while stock syncsCompare rate-limit responses, stock-job timing, and order queue age.Pace the sync and verify bounded retries and order processing under the same traffic.
Buyers see confirmations and ERP backlog growsCheck time from order acceptance to validated ERP order, oldest queued event, and retries.Inspect worker throughput and the receiving system’s response. Reconcile the test order IDs after ramp-down.
The API passes and mobile checkout feels slowCompare browser timings with API traces for the same journey and device profile.Check checkout extension calls, scripts, and user-facing render time.
Reported latency drops as requests are missedCompare scheduled and achieved starts and load-generator resource use.Fix the workload shortfall before using the run to estimate capacity.

In an approved environment, rehearse one slow dependency and one duplicate delivery during peak traffic. Check that retries preserve the intended payment state and one downstream order. If Magento fails at normal demand, audit the code, performance, and infrastructure before raising load. AWS guidance on retries · Magento code audit · Magento performance optimization

Turn the results into a launch decision

Agree on thresholds before running the test. Read p95 and p99 latency alongside their sample counts, especially for low-volume B2B flows. In the example below, 240 eligible checkout attempts per minute for 45 minutes gives 10,800 attempts. A 99.5% target requires at least 10,746 correct orders. The example assumes merchant-controlled staging. Set targets for your trading requirements and provider limits.

GateExample pass criteriaOwner
WorkloadSustain 39 retail session starts per second and the agreed journey mix for 45 minutes with order and inventory jobs active. Verify the achieved rate.QA lead
Checkout responsep95 of order submission to confirmation at or below 3 seconds and p99 at or below 6 seconds for the defined synthetic flow. Track interactive payment challenges separately.Commerce engineering
Order integrityAt least 99.5% of eligible checkout attempts create the correct order. Zero duplicate orders or payment authorizations, lost accepted orders, and stock or price discrepancies.Commerce and payments
ERP and recoveryAt least 99% of accepted orders reconcile within five minutes. The entire test batch reconciles and queue age returns to normal within 15 minutes of the ramp-down.Integration and operations

For each gate, record the target, result, build and data versions, environment differences, and trace or dashboard link. Hold the launch when a mandatory gate fails or achieved load misses the forecast. After a fix, rerun the same workload and compare per-journey results.

Ecommerce load testing FAQ

How early should you start before a peak trading event?

Work backward from the launch and any vendor freeze or notification window. Leave time to diagnose a failure, deploy a fix, and repeat the same workload. Rerun the affected journeys when checkout, pricing, inventory, or ERP integration changes.

How many virtual users should you simulate?

Multiply the planned session start rate by the average journey duration to estimate steady-state concurrent sessions. Size the generators for the workload and verify achieved arrivals. Different store journeys generate different numbers of HTTP requests at the same concurrency.

When should you bring in an ecommerce load testing partner?

Bring in a partner if checkout has failed at peak, a migration changes the order path, or payment and ERP failures cross team boundaries. Elogic Commerce’s ecommerce QA practice covers performance testing and release evidence. Ask for a repeatable workload, per-journey results, and a retest after fixes.

Share your launch date, expected peak, platform, and highest-risk checkout or ERP flow with Elogic Commerce. Discuss the test scope with the ecommerce QA team.

How useful was this post?

Click on a star to rate it!

Davis
Get in Touch
Looking for a partner to grow your business? We are the right company to bring your webstore to success.
Table of contents