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
Business solutions

An AI-powered web platform

AIPoweredPlatform

MORE ABOUT PROJECT

Business solutions

An AI-powered web platform

EU

Web

About project:

An AI-powered web platform that transforms natural language queries into SQL requests to simplify access to business data and streamline BI analytics. 

Services:

Manual, Functional, Regression, Usability, UI/UX, Exploratory testing, and Re-testing of fixed bugs.

Result:

Over 200 detailed test cases were created to verify AI-generated SQL queries and UI functionality.

FULL CASE STUDY

Logistics
Business solutions

Logistics Optimization Provider

MORE ABOUT PROJECT

Logistics
Business solutions

Logistics Optimization Provider

EU

Mobile, Desktop

About project:

The company offers logistics management solutions aimed at optimising goods transportation, warehouse handling, and distribution planning.

Services:

  • Manual and Automation, Functional, Cross-platform, Cross-browser, Regression, Security, API, Usability testing
  • Automated testing -TypeScript + WebdriverIO + Mocha + Appium

Result:

500+ manual test cases were written, 300+ automated tests integrated into GitLab CI, achieving 85% test coverage.

FULL CASE STUDY

Software Development
Start-up

Caraleya

MORE ABOUT PROJECT

Software Development
Start-up

Caraleya

Cayman Islands

Mobile (Android, iOS)

About project:

Caraleya is a lifestyle and utility app designed to create unforgettable moments, amplify connections, and spark joy through thoughtful gestures.

Services:

  • Manual Functional, Regression, Smoke, Exploratory, Usability testing, and Re-testing of fixed bugs.

Result:

40+ critical and usability bugs were identified and resolved, significantly improving the app’s performance and user experience.

FULL CASE STUDY