Chewy_Logo
E-commerce

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

Start your free trial, see what Gatling can do for your team, and enhance your performance engineering.

"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 - Chewy
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.

Related Articles

From Our Blog

Stay up to date with what is new in our industry, learn more about the upcoming products and events.

Test faster with enhanced no-code test-building capabilities

Test faster with enhanced no-code test-building capabilities

Jul 3, 2024 10:59:58 AM 4 min read
Putting SSE to Work: A Load Test LLM API Case Study
LLM blog banner

Putting SSE to Work: A Load Test LLM API Case Study

Jun 11, 2024 10:31:41 AM 3 min read
Gatling doubles its availability with a new JavaScript SDK
Javascript SDK

Gatling doubles its availability with a new JavaScript SDK

May 23, 2024 2:56:30 PM 4 min read