Virtualized Integration Testing via Recorded Communication Replay
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Integration tests are often postponed due to high costs, leading to increased expenses in addressing regressions near the end of development, as setting up actual integration test environments is costly and time-consuming.
Innovation Solution
A virtualized integration test environment is created by recording and replaying actual integration test data, allowing for cost-effective testing at various development stages without the need for real integration test environments, using a virtualized test integration engine to simulate API responses and identify regressions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If actual integration test environments are set up, then testing reliability is improved, but cost and time consumption increase
Solution Approach 1:
The patent creates virtual copies of integration test environments using containerization technology. Instead of setting up complex actual integration test environments, the system generates virtual environment packages that replicate the necessary test conditions. These virtual environments can be rapidly instantiated and disposed of, providing reliable testing without the overhead of permanent complex infrastructure.
Solution Approach 2:
The patent transitions from physical integration test environments to virtualized software-based environments. By moving the test environment from the physical dimension (actual hardware and network setups) to the software dimension (virtual machines, containers, and simulated services), the system maintains testing reliability while dramatically reducing setup complexity and cost.
2Device complexity
If integration tests are postponed, then cost is reduced, but regression detection capability deteriorates
Solution Approach 1:
The patent enables integration testing to be performed earlier in the development cycle by preparing virtual environment packages in advance. These pre-configured virtual environments can be immediately deployed when needed, eliminating the delay associated with setting up actual integration test environments. This allows continuous regression detection throughout development rather than postponing tests until later stages.
3Productivity
If virtualized test environments are used, then cost and speed are improved, but measurement precision may deteriorate
Solution Approach 1:
The patent creates virtual environment packages that can serve multiple testing purposes and be reused across different test scenarios. A single virtual environment package can be instantiated multiple times to support parallel testing, regression testing, and integration testing. This universality maintains cost-effectiveness and speed while ensuring that the same validated virtual environment is used consistently, preserving measurement precision.
Data Source
AI summary
A technique includes accessing, by at least one hardware processor, a recorded request and a recorded response associated with an integration test involving a first computer system and a second computer system. The recorded request was previously issued by the first computer system to the second computer system to cause the second computer system to provide the recorded response. The technique includes, in a virtualized integration test involving the second computer system and initiated using the recorded request, comparing, by the hardware processor(s), the recorded response to a request produced by the second computer system in the virtualized integration test. The technique includes identifying, by the hardware processor(s), an action taken by the second computer system as being likely to be associated with a regression based on the comparison.


