Automated Test Data Microservice for API Testing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Microservice and API testing is a complex and time-intensive process, particularly due to the labor involved in creating and managing test data, which can lead to delays and conflicts in Continuous Integration/Continuous Deployment (CI/CD) processes.

Innovation Solution

An automated test data microservice system that automates the creation, management, and deletion of test data, allowing developers to focus on testing rather than setup and teardown processes, using a controller device and microservice to interface with user devices and a database for efficient test data management.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If manual test data creation and management is used, then developers can control test data quality, but testing time and labor costs increase significantly

Engineering Contradiction:
Improvetest data quality controlVSAvoidtesting time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs preliminary actions by automatically creating and preparing test data before testing begins. The microservice generates test data in advance based on test requirements, eliminating the need for manual data creation during the testing process and reducing overall testing time while maintaining quality standards.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The testing system serves itself by implementing automated test data management capabilities within the microservice architecture. The system automatically generates, manages, and cleans up test data without requiring manual developer intervention, thereby reducing both time consumption and labor costs while preserving data quality through automated validation.

Inventive Principle:
Principle #25Self-service

2Reliability

If comprehensive test data management is implemented, then testing reliability improves, but system complexity increases

Engineering Contradiction:
Improvetesting reliabilityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system segments test data management into distinct microservices, each handling specific aspects such as data generation, validation, and cleanup. This modular approach improves reliability by isolating functions while managing complexity through clear service boundaries and independent deployment of each microservice component.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The microservice architecture introduces intermediary layers that manage test data operations between the testing framework and the database. These intermediaries handle complex data management tasks while presenting simplified interfaces to the testing process, thereby improving reliability without exposing the full complexity to users.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Productivity

If automated test data management is implemented, then testing efficiency increases, but initial setup complexity increases

Engineering Contradiction:
Improvetesting efficiencyVSAvoidsetup complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The test data management microservice is designed as a universal, multi-functional component that can serve multiple testing scenarios and data types through standardized interfaces. This universality improves testing efficiency across different projects while reducing setup complexity by providing a single, reusable solution rather than requiring custom implementations for each testing need.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS11663116B2Systems and methods for automated test data microservices
Publication Date: 2023.05.30 THE TRAVELERS INDEMNITY
  • US11663116B2 patent drawing
  • US11663116B2 patent drawing
  • US11663116B2 patent drawing

AI summary

Systems and methods for automated test data microservices are provided. Test versions of software (such as an Application Programming Interface (API)) may be configured to automatically generate test data and to call a microservice to manage the test data. The microservice may automatically add and remove the test data from an operational data store to facilitate the testing process and to automatically perform setup and teardown stages of the testing process.