Captured Event Sequence Replay for Distributed Regression Testing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current regression testing methods for multi-service distributed computing systems lack effective machine-driven automation for simulating real-world user workloads, leading to inefficiencies and inaccurate testing results due to human error or random interaction generation.

Innovation Solution

A method involving generating sequences of events with Lamport timestamps in a first computing environment, constructing a test workload, and comparing it with a second environment to identify variances, allowing for automated reconfiguration based on these variances.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If human testers are used for workload simulation, then real-world usage patterns can be captured, but the process is time-consuming and lacks scalability

Engineering Contradiction:
Improveaccuracy of real-world usage pattern simulationVSAvoidtesting speed and scalability
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent creates virtual copies of user interactions by capturing sequences of events from production systems and replaying them in testing environments. This eliminates the need for human testers to manually simulate each user action, achieving both accurate real-world pattern reproduction and automated scalability.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The system performs preliminary capture of user interaction sequences during normal production operation, storing these sequences for later replay during testing. This preliminary action allows the testing phase to reuse authentic user patterns without requiring human testers to recreate them, improving both accuracy and efficiency.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If automated randomized interactions are used for testing, then scalability and repeatability are improved, but the testing results may not accurately represent real-world usage patterns

Engineering Contradiction:
Improvetesting automation and scalabilityVSAvoidaccuracy of usage pattern simulation
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

Instead of generating random interactions, the system copies actual user interaction sequences captured from production environments. This preserves the authenticity of usage patterns while maintaining the scalability and repeatability of automated testing through machine-driven replay.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The system uses feedback from production system logs to generate accurate test sequences. By analyzing actual user behavior data from the live system and replaying those sequences in testing environments, the system ensures test accuracy while maintaining automation benefits.

Inventive Principle:
Principle #23Feedback

3Reliability

If full system tests are conducted in distributed computing systems, then comprehensive functionality can be evaluated, but the complexity of coordinating numerous components increases significantly

Engineering Contradiction:
Improvecomprehensive system functionality evaluationVSAvoidtest suite coordination complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the complex distributed system testing into manageable units by capturing and replaying individual sequences of events. Each sequence represents a specific user interaction path, allowing the system to test comprehensive functionality through composed atomic event sequences rather than coordinating all components simultaneously.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary capture of event sequences during normal operation, organizing them into reusable test units. This preliminary structuring reduces the complexity of test coordination by having pre-defined, isolated event sequences that can be independently replayed and combined, rather than managing complex real-time coordination of all system components.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12455800B2Dynamic testing with captured sequences of events
Publication Date: 2025.10.28 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US12455800B2 patent drawing
  • US12455800B2 patent drawing
  • US12455800B2 patent drawing

AI summary

Method and apparatus for regression testing. A first plurality of sequences of events is generated by executing a plurality of test paths on a first computing environment. A test workload is constructed based on the first plurality of sequences of events. A second plurality of sequences of events is generated by executing the test workload on a second computing environment. One or more variances are identified by comparing the first plurality of sequences of events with the second plurality of sequences of events. And the second computing environment is reconfigured based on the one or more variances.