Automated Load Test Script Generation from HAR Archives
Find Innovative SolutionsGenerate 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
Engineering 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
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
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
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
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
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
3Productivity
If automated script generation is implemented, then time consumption is reduced, but the complexity of handling dynamic resource correlation increases
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
Data Source
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.


