Service Virtualization Replay for Encrypted Backend Testing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing service virtualization tools struggle to effectively simulate complex interactions between clients and services due to limitations in handling third-party APIs and data encryption, and they cannot handle data flows without explicit client requests, complicating end-to-end testing.

Innovation Solution

A service virtualization tool that intercepts data transmissions without decrypting packets, records time intervals and origins, and replays data based on time stamps and markers, supporting various communication protocols and enabling continuous data flow simulation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If service virtualization tools decrypt data packets to simulate service behavior, then testing accuracy is improved, but security is compromised and complexity increases

Engineering Contradiction:
Improvetesting accuracyVSAvoidsecurity risk
Core Design Contradiction:
Measurement precisionVSObject-affected harmful factors

Solution Approach 1:

The service virtualization tool acts as an intermediary that intercepts data packets at the network level without decrypting them. It uses metadata such as timestamps, packet sizes, and sequence numbers to simulate service behavior, thereby maintaining security while achieving accurate testing.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

Instead of decrypting and analyzing the actual data content, the tool creates a virtual copy of the service behavior using packet metadata and temporal patterns. This copying approach allows accurate simulation of service interactions without compromising the security of the encrypted data.

Inventive Principle:
Principle #26Copying

2Adaptability or versatility

If service virtualization tools handle encrypted data packets, then adaptability is improved, but device complexity increases

Engineering Contradiction:
Improveprotocol supportVSAvoidtool complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The tool extracts only the necessary metadata from encrypted data packets (timestamps, packet sizes, sequence numbers) while leaving the encrypted content intact. This extraction approach enables support for multiple encryption schemes and protocols without increasing complexity, as the tool operates on external characteristics rather than internal data structures.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The service virtualization tool is designed to handle multiple communication protocols and encryption methods universally by operating at the network layer with standardized metadata extraction and replay mechanisms, eliminating the need for protocol-specific decryption logic.

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

3Productivity

If service virtualization tools record and replay data transmissions, then productivity is improved, but loss of time occurs during recording and replay setup

Engineering Contradiction:
Improvetesting efficiencyVSAvoidsetup time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The tool performs preliminary recording of service interactions to create virtual service models that can be reused. Once recorded, the same virtual service can be instantiated multiple times for different testing scenarios, significantly reducing the time required for repeated testing setups.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The service virtualization tool enables continuous testing by maintaining virtual service instances that can be activated and deactivated as needed. This allows testing to continue without requiring the actual services to be running, eliminating downtime and enabling parallel testing activities.

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS12499036B2Service virtualization
Publication Date: 2025.12.16 WELLS FARGO BANK NA
  • US12499036B2 patent drawing
  • US12499036B2 patent drawing
  • US12499036B2 patent drawing

AI summary

An application in production may communicate with one or more heterogeneous services, including requesting and receiving data from a one or more data sources. The communication between the application and the services can include complicated scenarios making facilitating end-to-end testing of the application difficult. The disclosed service virtualization solution works in two stages of ‘record and replay’ to simulate a backend service. During the recording stage, the disclosed tool intercepts the data flow between the client and the service and records the data and during the replay stage, the disclosed tool creates a proxy service that simulates the responses of service application by reading the recorded session file, allowing for the client application to be tested without having to connect to the actual service application.