Automated Load Test Script Generation from HAR Archives

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Manually building load test scripts for server load testing is time-consuming, tedious, and error-prone, especially due to the need to correlate dynamic resources and parameters from HAR files, which can be impossible in certain cases due to complex data formats and high volumes of data.

Innovation Solution

A system and method for generating correlated load test scripts by receiving an archive of transaction records, organizing them, determining relevant domain names, converting requests and responses, and correlating the data to create a plain load test script, which is then further correlated to produce a usable load test script for server load testing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If load test scripts are built manually, then the scripts can be customized and adapted to specific testing needs, but the process becomes prohibitively time-consuming and error-prone

Engineering Contradiction:
Improveease of load test script creationVSAvoidtime required to build load test scripts
Core Design Contradiction:
Ease of manufactureVSLoss of time

Solution Approach 1:

The system enables self-service automated generation of load test scripts by automatically parsing HAR files, extracting transaction records, and generating correlated load test scripts without requiring manual intervention from performance engineers

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces the manual mechanical process of building load test scripts with an automated computational system that uses algorithms to parse HAR files, extract data, and generate scripts, thereby eliminating the time-consuming manual work while maintaining script quality

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Manufacturing precision

If manual load testing is performed with complex data correlation, then accuracy can be maintained, but the complexity and time required increase significantly

Engineering Contradiction:
Improveaccuracy of data correlationVSAvoidcomplexity of load test script generation process
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The system introduces an intermediary automated processing layer between the raw HAR file data and the final load test script, using intermediate data structures and correlation algorithms to automatically match dynamic resources across requests and responses, thereby maintaining accuracy while reducing complexity

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent transforms the complex correlation problem by changing parameters from manual data matching to automated algorithmic processing, using systematic approaches to identify and correlate dynamic resources based on patterns in the data rather than manual inspection

Inventive Principle:
Principle #35Parameter changes

3Productivity

If automated script generation is implemented, then time consumption is reduced, but the complexity of handling dynamic resource correlation increases

Engineering Contradiction:
Improvespeed of load test script generationVSAvoidcomplexity of automated correlation processing
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system segments the complex correlation task into distinct automated processing stages: parsing HAR files into transaction records, extracting dynamic resources from individual records, correlating resources across records using algorithms, and generating the final script. This segmentation manages complexity while maintaining high productivity

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12021732B1Assistant for automatic generation of server load test scripts
Publication Date: 2024.06.25 US BANK NATIONAL ASSOCIATION
  • US12021732B1 patent drawing
  • US12021732B1 patent drawing
  • US12021732B1 patent drawing

AI summary

This disclosure is directed to systems and methods for generating correlated load test scripts for use in load testing by receiving an archive of transaction records, each transaction record including a request and a response, organizing the archive of transaction records, determining a collection of transaction records, generating a plain load test script, and correlating the plain load test script to generate a correlated load test script.