Who is the Client

A French multinational retailer of cosmetics and personal care products, with more than 2000 physical stores worldwide. They have a strong customer base in 38 markets.

The Challenge

The client has an internal API proxy and provisioning platform that processes critical APIs used by e-commerce and other store applications to perform important cart functionalities, such as adding a product to the cart. The client’s existing API proxy and provisioning testing platform had only basic sanity tests and required many manual validations. The platform had many redundant test cases. At the same time, they were missing many important test cases, which were essential for a comprehensive validation.

Also, due to the rapid growth of the client’s e-commerce business, the existing manual API validation process of this platform was slowing the progress and hampering the scalability. The existing sanity checks were unable to perform deep testing of APIs for ensuring a comprehensive validation.

The Solution

GSPANN experts developed multiple API testing scenarios for more than 8000+ web services with a java-based automation testing framework using ReadyAPI and Apache Groovy to generate XML, which are executed by Jenkins through Maven.

We cleaned the existing automation framework by discarding the test cases that are no longer in use. As a result, we enabled the in-sprint agile test automation of REST and SOAP APIs that are capable of providing a quick validation.

It is an ongoing project wherein we daily execute testing scripts for sanity checks and critical path (CP) validations. We perform regression testing three times in a week to facilitate continuous integration (CI) and continuous delivery (CD) pipeline for API deployments, maintain all test cases, changes, new additions, and a lot more.

As a result, we have successfully reduced the manual effort required to validate APIs to less than 10%, which optimized the associated operational cost. We also enabled execution of 8000+ web services test cases in 90 minutes and sanity test execution to validate the integrity of any new build deployment in 15-20 minutes.

Our solution improved the automation testing framework, which now facilitates continuous delivery that helps the client in delivering innovative user experience faster and at a lower cost. The test results get saved on a slave machine and are shared with the user though automated emails. Overall, the test automation framework accelerated the release cycle of e-commerce API deployments.

Business Impact

  • The client is now able to release multiple business functionalities frequently with confidence.
  • The client can now validate critical functionalities of APIs in 30-40 mins.
  • Enhanced efficiency with proxy servers supporting 30 requests per second for a single API.
  • Faster time-to-market with a lighter & better validation framework.

Technologies Used

Selenium. A portable framework for testing web applications that authors functional tests without using any test scripting language
ReadyAPI. Allows teams to create, manage, and execute automated functional, security, and performance tests in one centralized interface
Maven and Jenkins. CI/CD build and deployment tool
TestNG. A testing framework for the Java programming language that is inspired by JUnit and NUnit
Git. An open-source distributed version control system designed to handle everything from small to very large projects with speed and efficiency
TestRail. A web-based test case management software used to efficiently manage, track, and organize test cases

Related Capabilities

High-Quality Applications Enabling Faster Business at all Times

Quality automated testing, high-frequency development releases, and large codebases prepare applications for the ever-changing business demands and technology upgrades/changes. Our rigorous testing processes take care of all in the shortest timespan, ensuring application stabilization, least code breaks in high-frequency releases, and adequate testing.

Do you have a similar project in mind?

Enter your email address to start the conversation