Luxe Quality logo

Oct 25, 2023 4 min read

Automated API testing for Qpilot

E-commerce

Platforms:

Web

Country:

USA

Implementation time:

Apr 2023 - Present
AutomatedAPItestingforQpilot

Subscribe to Our Newsletter

Stay tuned for useful articles, cases and exclusive offers from Luxe Quality!

About Company

QPilot is a company that develops solutions for automated and planned procurement of goods and services. Their tools make communicating with customers easy across multiple channels and devices, providing convenient scheduling, shipping, payment, and discount options. 

Before

Before our specialist joined the project, manual tests were created, and unit tests were available, but no corresponding documentation existed. 

Challenges and Solutions

The main goal of our specialist was to automate existing test cases, particularly smoke and regression tests, as well as refactor and provide support for these cases. While working on the project, there were some challenges related to the unique features of the project. And we are happy to share this experience with you. 

Challenges

Solutions 

The need to increase the speed of execution of tests 

Slow performance due to data updates and API synergies was solved by running tests in parallel with multiple workers, optimizing execution and synchronization.

Lack of documentation on the Postman collection 

It was decided to extract all necessary API requests using the Playwright plugin. 

Load testing required a unique approach due to technical limitations and the impracticality of testing through the program 

Our specialist performed a load test through an Excel file imported into the admin panel with appropriate access. This allowed the system to be tested for maximum load during the testing process and ensured optimal performance and reliability under load. 

Technologies, Tools, and Approaches

The project used JavaScript and the Playwright library for automated testing. Axios was used to interact with asynchronous HTTP requests and web services. 

In particular, an essential part of testing was API testing. Our specialists created and executed HTTP requests to various API methods, verifying the correctness of the returned responses and status codes. Playwright helped us focus on automating web elements and interacting with browsers, providing a convenient way to implement test scenarios. 

Features Of The Project 

A significant portion of the functionality was closely associated with transaction processing and payment handling. Consequently, testing was approached with a high level of attention and caution, ensuring precision and security in financial operations. 

In addition, the application had integration with various banks, which required a specific approach to the testing process. It was necessary to verify the correctness of the interaction of the program with various banking systems to ensure smooth operation and reliability of functions related to financial transactions. 

Results

  • The tests' coverage of 95% of the functionality has greatly increased the project's reliability and quality assurance.
  • 8 bug reports have been created, indicating that our QA team has successfully identified and documented several issues in the software product. This helps developers clearly understand where problems exist and helps to fix them quickly. 
  • API testing has been performed to ensure that all system functions interact correctly and meet the specified requirements. 
  • UI testing has been conducted, providing the client with a comprehensive understanding of the user interface’s usability, aesthetics, and overall functionality. 
  • Load testing allows the customer to determine how their software performs under load and ensure system reliability and optimal performance.
Services provided
  • Manual testing
  • Smoke testing
  • Regression testing
  • Functional testing
  • Automation testing
  • UI/UX testing
  • Performance testing
  • API testing
QA Technologies used
  • JavaScript
    JavaScript icon
  • Playwright
    Playwright icon

Your project could be next!

Ready to get started? Contact us to explore how we can work together.

discuss your project

Other Projects

Read more
Start-up

Lumina Solutions

Cover Lumina Solutions

MORE ABOUT PROJECT

Start-up

Lumina Solutions

USA

Web, Mobile

About project:

Lumina Solutions is an innovative technology company specializing in AI solution development that analyzes finance.

Services:

  • Manual and Automation, Functional, Regression, Smoke, and Usability Testing

Result:

Agile processes cut release times by 70% and improved forecasting accuracy by 20%, while over 780 automated test cases boosted code coverage to 90%.

FULL CASE STUDY

E-commerce

Interlink

CoverInterlink

MORE ABOUT PROJECT

E-commerce

Interlink

United Kingdom

Web, Mobile

About project:

Interlink solutions are designed to enhance website performance and user experience and implement advanced tools to drive efficiency and business growth.

Services:

  • Manual, Functional, Integration, Regression, Smoke testing 
  • Automated, Security, Performance, Load testing 

Result:

500+ manual tests were created, 300+ test cases were automated, and 150 bug reports were generated.

FULL CASE STUDY

E-commerce

DepreciMax

CoverDepreciMax

MORE ABOUT PROJECT

E-commerce

DepreciMax

Australia

Web

About project:

The project allows for detailed modeling of fixed asset depreciation and lease calculation rules for accounting and tax.

Services:

  • Manual - Regression, Smoke, Functional, Integration testing, Usability, UI/UX testing 
  • Automation testing 

Result:

750+ test cases, 450 of which are automated, 80% of functionality is covered by automation.

FULL CASE STUDY