How a billion-dollar e-commerce business built a performance testing framework from scratch with Gatling Enterprise
Why Gatling Enterprise?
- Exponential growth in website traffic in the US during and after pandemic
- Managing performance issues that might occur due to BOT traffic
- Creation of a Performance Testing Framework and team with Gatling Enterprise
- Daily load testing with an average of 500+ load tests and 100+ simulations per month
- 20.4M happy, active users with an average visit duration of 08:19 min in 2023
About Chewy
With Chewy, no one pet-parents alone.
Chewy is here to stick by their customer’s side through the highs, lows, and in-betweens of pet parenthood, with everything the customer and their pet need for a happy and healthy life. At Chewy, the mission is to be the most trusted and convenient destination for pet parents and partners everywhere.
Statistics
Location: USA
Industry: E-commerce
Turnover: $ 9.77 Billion (2022)
Employees: 20,000 (2023)
Gatling Enterprise Users: 450 + developers
"We did a POC and evaluated multiple tools. Gatling was chosen because it was developer friendly, could be hosted in AWS, allowed us to spin up unique injectors for each test, supported lots of concurrent tests running in parallel without impacting each other, and the Gatling Enterprise UI was easy to use."
Chris Winkler
Associate Director, Software Engineering, Chewy
Challenges
Chewy's e-commerce website had steady sales since the beginning. However, in 2020, Americans shifted to online shopping at the onset of the pandemic. The company saw exponential traffic growth, peaking during the holiday seasons.
Since the end of the pandemic, Chewy noticed that BOT traffic and web scrapers are increasingly sophisticated. It might have affected actual users if they attempted to filter all BOT traffic. To combat this, Chewy must ensure it can handle multiples of its standard traffic to avoid performance issues even if it faces heavy BOT traffic.
Chewy's tremendous growth and aim to maintain its impeccable customer service caused an urgent need to create a performance testing framework from scratch with a reliable load testing tool to manage site traffic.
Solution
With Gatling Enterprise, Chewy started load testing daily, with several simulations to replicate traffic spikes and production traffic. Based on the simulations, they changed the architecture of certain pages, making them more resilient and protecting them from large amounts of traffic.
Currently, the performance team is continuously doing CI/CD testing, including soak and stress tests, to maintain the website's stability and uninterpreted customer service
Results
In 2023, Chewy had 20.4M happy, active customers with 08:19 minutes average visit duration with 450+ developers actively using Gatling Enterprise.
Chewy averages 500+ load tests per month and 100+ monthly distinct simulations. During the peak holiday season, the company has 1300+ load tests and 98+ monthly distinct simulations to manage their massive spike in website visits and sales and assess their daily performance.
From Our Blog
Stay up to date with what is new in our industry, learn more about the upcoming products and events.