Parallel Test Script Execution via Analysis Tree
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Dividing test commands of a test script into groups that can be successfully executed in parallel is a difficult and inefficient process, often requiring manual iteration and merging of tests, which hampers load testing efficiency during high user traffic.
Innovation Solution
The test commands are initially sequentially executed while monitoring user interface parameters, and then divided into tests based on significant changes in these parameters, followed by generating an analysis tree to identify a maximally parallel subset of unique paths that can be executed concurrently across different testing devices.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If test commands are manually divided into groups for parallel execution, then parallel execution capability is improved, but the process becomes difficult and inefficient requiring manual iteration and merging
Solution Approach 1:
The patent segments test commands into distinct tests by monitoring user interface parameters and identifying significant changes. This automatic segmentation replaces manual division, allowing test commands to be split into executable groups based on objective criteria (parameter changes) rather than subjective manual judgment, thereby improving parallel execution capability while reducing process complexity
Solution Approach 2:
The system implements feedback by sequentially executing test commands and monitoring user interface parameters to determine when to divide tests. This feedback mechanism automatically identifies appropriate division points based on parameter changes, eliminating the need for manual iteration and merging processes while enabling efficient parallel execution
2Speed
If tests are divided into smaller groups for parallel execution, then execution speed is improved, but the process requires manual iteration and merging which reduces efficiency
Solution Approach 1:
The patent performs preliminary action by automatically dividing test commands into tests before parallel execution based on monitored user interface parameters. This pre-division eliminates the need for subsequent manual iteration and merging steps, achieving fast parallel execution without the time loss associated with manual adjustments
Solution Approach 2:
The system performs self-service by automatically determining optimal test division points through monitoring its own execution state and user interface parameter changes. This self-determined division replaces manual iteration processes, maintaining high execution speed while eliminating the time-consuming manual adjustment cycle
Data Source
AI summary
A test script is divided into tests having a sequential order within the test script. An analysis tree of the tests can be generated. Each unique path through the analysis tree includes a subset of the tests as sequentially ordered within the test script. A maximally parallel subset of the unique paths that covers all the tests and according to which the tests are successfully executable is identified. Each test appears in only one unique path of the maximally parallel subset.


