Automated Traffic Replay for Post-Migration Software Validation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current post-migration testing methods, such as user acceptance tests and traffic comparison, are time-consuming and difficult to implement due to network constraints and require extensive application knowledge, making them challenging for system administrators to validate and deploy.

Innovation Solution

A method and system for migration testing that automatically generates scripts to capture and replay data traffic from production systems, using existing tools like tcpdump, to compare responses between source and target systems, ensuring minimal intrusion and compliance with security and audit requirements.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If user acceptance tests are used for post-migration testing, then testing completeness is improved, but time consumption increases and application knowledge requirement increases

Engineering Contradiction:
Improvetesting completenessVSAvoidtime consumption
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent creates a copy of the production environment as a test environment, capturing real traffic patterns and reproducing them in the migrated system. This allows comprehensive testing without manual intervention, as the test environment replicates production conditions automatically.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The testing system automatically captures traffic, generates test cases, executes tests, and compares results without requiring application knowledge from testers. The system serves itself by autonomously performing all testing functions that previously required human expertise.

Inventive Principle:
Principle #25Self-service

2Measurement precision

If traffic duplication is used for post-migration testing, then testing accuracy is improved, but network complexity increases and implementation difficulty increases

Engineering Contradiction:
Improvetesting accuracyVSAvoidnetwork complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent extracts the traffic capture function from the network infrastructure and implements it directly on the servers using standard tools like tcpdump. This removes the need for complex network-level traffic duplication and splitting, simplifying the network architecture while maintaining testing accuracy.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces a traffic capture script as an intermediary between the production and test systems. This script captures traffic locally on the production server and transfers it to the test system, avoiding the need for complex network-level traffic duplication mechanisms.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Adaptability or versatility

If network changes are implemented for traffic splitting, then testing capability is improved, but audit compliance decreases and implementation difficulty increases

Engineering Contradiction:
Improvetesting capabilityVSAvoidimplementation difficulty
Core Design Contradiction:
Adaptability or versatilityVSEase of manufacture

Solution Approach 1:

The patent uses a traffic capture script as an intermediary that operates within existing network constraints. This approach enables testing capability without requiring network changes, as the script captures traffic at the application layer rather than requiring network-level modifications.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent creates a copy of the production traffic locally using standard server tools, eliminating the need for network changes. This copying approach maintains testing capability while avoiding any network infrastructure modifications that would require audit approval.

Inventive Principle:
Principle #26Copying

4Extent of automation

If manual traffic capture scripts are used, then automation level is low, but system complexity increases

Engineering Contradiction:
Improveautomation levelVSAvoidsystem complexity
Core Design Contradiction:
Extent of automationVSDevice complexity

Solution Approach 1:

The patent uses standard, widely-available tools like tcpdump to capture traffic, which are already present on most systems. This copying approach automates traffic capture without introducing complex proprietary tools, maintaining low system complexity while achieving high automation.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent employs standard server tools that serve multiple functions (traffic capture, logging, analysis) rather than dedicated specialized tools. This multi-functionality reduces system complexity while maintaining automation capability, as the same tools handle multiple aspects of the testing process.

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

Data Source

PatentUS9916147B2Deployment of a tool for testing migrated applications
Publication Date: 2018.03.13 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US9916147B2 patent drawing
  • US9916147B2 patent drawing
  • US9916147B2 patent drawing

AI summary

Configuration information associated with software installed on a production system may be discovered. A script is automatically generated for capturing data traffic from and to the software installed on the production system using the configuration information. The script may be executed to capture data traffic of the software running on the production system. A migrated version of the software may be executed on a test system using requests extracted from the captured data traffic. The responses in the captured data traffic may be compared with responses from the migrated version of the software.