![Sonepar logo](https://gatling.io/hs-fs/hubfs/Content/Customer%20Stories/Sonepar/Sonepar%20logo.png?width=852&height=200&name=Sonepar%20logo.png)
How Sonepar ensured optimal e-commerce platform performance with Gatling Enterprise
Increased system stability under heavy loads by simulating 720 virtual users
Enhanced web performance by tracking and optimizing key Web Core Vitals metrics
About Sonepar
Sonepar is a global leader in B2B distribution of electrical products, solutions, and related services. With a robust e-commerce platform, Sonepar connects electrical contractors, engineers, and facility managers to thousands of products daily, ensuring efficient, fast, and reliable purchasing experiences. In a B2B context, where customers are professionals with tight schedules, high performance and reliability are critical to the platform’s success.
and enhance your performance engineering.
Statistics
Location: France
Industry: B2B Distribution & Electrical Equipment / RETAIL
Turnover: $30 billion+
Employees: 45,000+
Tech Stack: Frontend: Next.js, React
Backend: Java (Spring Boot)
API: GraphQL, Azure API Manager
Observability: Dynatrace
Microservices
Business and Load Test Key Metrics:
Simulated up to 720 virtual users in pre-production
Validated Web Core Vitals, including LCP, FCP, and TTFB, to ensure fast user experiences
Gatling Enterprise Users: 12+ across development and QA teams
Sonepar’s challenges & pain points
Performance stability
Sonepar’s e-commerce platform was growing in complexity with multiple microservices and frontends. While functional testing covered most aspects, ensuring the platform’s performance under heavy loads became a priority. The team needed a solution to validate performance for critical processes such as product searches, checkouts, and large catalog displays.
High traffic scalability
The platform had to handle a significant volume of daily transactions. Sonepar’s professional users couldn’t afford slowdowns or failures, especially during peak periods. The company needed to ensure scalability for their platform across multiple countries, each with varying levels of traffic and load.
Complex frontend-backend interactions
As a global platform, Sonepar’s system integrated various services (e.g., product catalogs, pricing, and customer-specific conditions). The team faced challenges in monitoring response times from backend services, especially when users searched for products or interacted with dynamic pricing features.
How Gatling Enterprise helped
1. Increased load testing capacity
By integrating Gatling Enterprise into their pipeline, Sonepar’s development teams could simulate up to 720 virtual users simultaneously, far beyond what their previous tools could handle. This simulation mirrored real-world conditions, allowing them to evaluate the system’s behavior during peak usage.
2. Web core vitals tracking
Sonepar closely monitors key Web Core Vitals (LCP, FCP, TBT, and TTFB) to optimize SEO and ensure a fast, seamless user experience. With Gatling, they were able to generate load and measure these metrics in both pre-production and production environments, identifying potential performance bottlenecks before they impacted end-users.
3. Enhanced testing of microservices
Gatling allowed Sonepar to load-test their frontend and backend services independently. This flexibility enabled the team to identify performance issues at various stages of the user journey—from product searches to checkout—and isolate bottlenecks in individual microservices, improving their ability to deliver a smooth user experience.
4. SaaS-driven efficiency
Sonepar benefited from the scalability of Gatling Enterprise’s SaaS platform. Rather than overloading their internal resources, they leveraged Gatling’s cloud infrastructure to run larger and more complex simulations, without the need for heavy local machine resources.
Results
- Reduced performance issues in production: Sonepar dramatically decreased instances of performance degradation during high-traffic periods by identifying and resolving bottlenecks in their API and microservices through Gatling load tests.
- Improved deployment confidence: By integrating Gatling into their pre-production pipeline, Sonepar now runs comprehensive load tests before each release, ensuring every deployment meets their performance standards.
- Optimized frontend performance: With continuous tracking of Web Core Vitals, Sonepar significantly improved their SEO ranking and reduced bounce rates by enhancing page load times and minimizing checkout delays.
- Enhanced scalability: Simulations of up to 720 concurrent users ensured that Sonepar’s platform could scale efficiently to meet growing user demands, maintaining performance even during peak periods.
Main improvements transitioning from Locust to Gatling Enterprise
- Higher load capacity: Gatling Enterprise allowed Sonepar to simulate a higher volume of users without draining internal resources, improving their ability to test realistic traffic loads.
- Clear, actionable reporting: Gatling’s UI made it easy for both technical and non-technical users to interpret test results and take corrective action, a significant improvement over their previous tools.
- CI/CD integration: The seamless integration of Gatling Enterprise into Sonepar’s CI/CD pipeline enabled automated load tests at key stages of development, reducing manual intervention and speeding up testing cycles.
What Sonepar Says
“Gatling Enterprise has been a game-changer for our performance testing. The ability to simulate real-world loads and automatically test our platform’s response to high traffic has ensured that we maintain top performance, even as our business grows.”
Pierre Pommerel
Solution Architect, Sonepar
What’s Next
Sonepar plans to expand their use of Gatling Enterprise by increasing the frequency of load tests and integrating even deeper into their development processes.
They aim to set performance thresholds for each new feature before it is merged into production, ensuring no regressions in user experience. As the platform continues to grow across Europe and North America, Sonepar is committed to maintaining high performance and scalability with Gatling Enterprise.
From Our Blog
Stay up to date with what is new in our industry, learn more about the upcoming products and events.
![Postman Integration x Gatling Banner](https://gatling.io/hubfs/Website/Banners/Blog/Blog%20-%20Postman.png)
Seamlessly integrate your Postman Collections with Gatling for advanced load testing
![Load testing a gRPC application | Gatling Blog](https://gatling.io/hubfs/Website/Banners/Blog/Blog%20-%20gRPC.jpg)
Easily Load Test your gRPC Application
![DataFaker - Gatling Blog](https://gatling.io/hubfs/Website/Banners/Blog/Blog%20-%20DataFaker.png)