Autocorrelation Test Script Generation for Load Testing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current rule-based correlation of test scripts for software applications requires significant computing resources and does not scale well, often resulting in high CPU usage and memory issues, and manual reduction of correlations is error-prone and not customizable.

Innovation Solution

Record and compare first and second executions of a test script to identify varying response values, automatically generating a new test script based on these correlations, thereby reducing manual intervention and improving scalability.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Extent of automation

If rule-based correlation of test scripts is implemented, then test script automation is achieved, but computing resource consumption increases significantly

Engineering Contradiction:
Improvetest script automationVSAvoidcomputing resource consumption
Core Design Contradiction:
Extent of automationVSUse of energy by moving object

Solution Approach 1:

The patent applies preliminary action by pre-processing and indexing correlation rules before the actual test execution. The system prepares correlation patterns, token lists, and matching criteria in advance, so that during test script correlation, the system can quickly match against pre-prepared data structures rather than performing exhaustive searches, thereby reducing real-time computing resource consumption.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses copying by creating simplified representations or models of correlation rules and test script structures. Instead of directly comparing entire test scripts against complex rule sets, the system creates intermediate representations (such as tokenized formats or abstracted correlation models) that enable faster comparison while preserving the essential correlation logic, thus reducing computational overhead.

Inventive Principle:
Principle #26Copying

2Reliability

If exhaustive rule searching is performed in all requests and responses, then complete correlation coverage is achieved, but test execution time increases to hours

Engineering Contradiction:
Improvecorrelation coverageVSAvoidtest execution time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies segmentation by dividing the test script and correlation rules into smaller, manageable segments or tokens. Instead of searching through entire test scripts as monolithic blocks, the system breaks them down into discrete units (such as individual correlation points, parameter tokens, or rule segments) that can be processed independently and in parallel, significantly reducing search time while maintaining complete coverage.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements partial action by performing correlation matching in stages or iterations rather than attempting to match everything at once. The system identifies and processes high-priority or most-likely correlation points first, using heuristics to focus computational effort on the most promising areas, thereby achieving sufficient correlation coverage without the exhaustive time cost of complete brute-force searching.

Inventive Principle:
Principle #16Partial or excessive action

3Use of energy by moving object

If manual reduction of correlations is performed, then computing resource usage is reduced, but error rate increases

Engineering Contradiction:
Improvecomputing resource usageVSAvoiderror rate
Core Design Contradiction:
Use of energy by moving objectVSReliability

Solution Approach 1:

The patent applies self-service by enabling the test script correlation system to automatically adjust and optimize its own operation. The system monitors correlation results, identifies patterns in matching success rates, and autonomously tunes parameters such as rule priority, matching sensitivity, and resource allocation without requiring manual intervention, thereby maintaining high reliability while optimizing resource usage.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent implements feedback mechanisms where correlation results are continuously monitored and fed back into the system to improve future matching accuracy. The system learns from successful and unsuccessful correlation attempts, adjusts rule weights and priorities based on observed patterns, and refines its matching algorithms over time, ensuring high reliability without requiring manual error correction.

Inventive Principle:
Principle #23Feedback

4Ease of manufacture

If fixed correlations are used, then implementation simplicity is maintained, but adaptability to customized rules decreases

Engineering Contradiction:
Improveimplementation simplicityVSAvoidcustomization capability
Core Design Contradiction:
Ease of manufactureVSAdaptability or versatility

Solution Approach 1:

The patent applies dynamics by making the correlation rule system adaptable and configurable rather than fixed. The system allows rules to be dynamically added, modified, or prioritized based on specific testing needs. Correlation rules can be weighted, conditional logic can be applied, and the system can adapt to different test scenarios by loading appropriate rule sets, thereby maintaining ease of implementation through a standardized framework while providing flexibility for customization.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS20240311284A1Comparison Based Autocorrelation in Load Testing
Publication Date: 2024.09.19 MICRO FOCUS LLC
  • US20240311284A1 patent drawing
  • US20240311284A1 patent drawing
  • US20240311284A1 patent drawing

AI summary

A first execution of a test script is recorded. The recording of the first execution of the test script is of a first interaction between a communication device and an Application Under Test (AUT). First request and response data for the first execution of the test script is captured. A second execution of the test script is recorded. Second request and response data for the second execution of the test script is captured. The first execution of the test script and the second execution of the test script are isolated sessions. The first request and response data is compared to the second request and response data to find one or more varying response values. The one or more varying response values are searched to identify correlations. A second test script is automatically created based on the identified correlations.