Loading

B2C Commerce - Load Testing Checklist

Udgivelsesdato: Jul 30, 2026
Beskrivelse

Before running a load test on a B2C Commerce storefront, merchants, developers, and implementation partners must follow a structured preparation process. Load testing without proper preparation can result in inaccurate results, platform quota violations, email floods, and — for live storefronts — unintended GMV charges from orders placed during the test.
This checklist covers the required steps for planning, executing, and completing a successful B2C Commerce load test. It applies to both pre-launch load tests on new implementations and pre-peak-season load tests for existing storefronts.

Real-Life Example

A B2C Commerce merchant is preparing for a Black Friday sale expecting 8× normal traffic. Their team runs a load test two weeks before the event but does not notify Commerce Support beforehand and excludes their third-party payment gateway from the test. The load test completes without issues. On Black Friday, the storefront handles the traffic load correctly — but the payment gateway times out under real concurrent checkout load, causing abandoned carts and lost revenue. The team also discovers post-event that test orders placed on their live storefront during the load test generated GMV charges they were not expecting.
What should have happened: The team should have: (1) notified Commerce Support before the test, (2) included the payment gateway in the load test simulation, and (3) used a loaner load test realm or sandbox payment processor to avoid GMV exposure. Following the full checklist would have surfaced the payment gateway bottleneck before the sale.

Løsning

Please follow the below checklist for a successful load test: 

  1. Notify Commerce Support when planning to run a load test as outlined here: Load test notification for Salesforce B2C Commerce.
  2. Review our load testing best practices - Commerce Cloud B2C Load Testing Best Practices
  3. Simulate the same load as expected in your sale event - Documentation
  4. Use the same code base, equivalent platform resources, and data. 
  5. Identify any bottlenecks and make improvements either through resource and/or configuration changes OR optimizing customizations.
  6. Include third-party service calls wherever possible.
  7. Keep platform and custom jobs running during load test.
  8. Load testing should be a simulation of expected traffic based on peak periods throughout the previous year with reasonable growth factors applied.
  9. It is recommended to disable email sending in your custom code to avoid an email flood during load tests.
  10. During the peak Holiday season, please look at the Commerce Cloud Holiday Season Moratorium and Load Testing Policy to see if there is a moratorium in effect. If there is, load testing may not be allowed.
  11. Loaner load test realms are available for short-term and long-term rental.
  12. Use the standard profiler tools to debug issues during load test.
    1. Any orders placed during a load test are incurring GMV if the site is live.
Vidensartikelnummer

000391855

 
Indlæser
Salesforce Help | Article