Load Test Scenario with Variable Reflection Times
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current load testing tools, such as JMeter, cannot vary reflection times while maintaining a predefined injection rate, leading to unrealistic simulation scenarios and irrelevant performance testing results.
Innovation Solution
A method and system for defining a load test scenario with variable reflection times within predefined intervals, ensuring the total duration and injection rate are maintained, allowing for random selection of waiting times to simulate human behavior and system resource usage effectively.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If variable reflection times are used to simulate human behavior, then the realism of the simulation is improved, but the ability to maintain a predefined injection rate deteriorates
Solution Approach 1:
The patent implements dynamic adjustment of reflection times within predefined variation intervals while maintaining the overall injection rate. The system dynamically selects reflection time values from intervals configured for each request, allowing variability that simulates human behavior while the total duration is controlled to maintain the target injection rate.
Solution Approach 2:
The patent changes the parameter of reflection time from a fixed value to a variable value within a configured interval. By modifying how reflection times are selected (from constant to variable within bounds), the system achieves more realistic simulation while the aggregate behavior maintains the predefined injection rate through controlled total duration.
2Productivity
If constant reflection times are used to maintain predefined injection rate, then the injection rate control is improved, but the realism of user interaction simulation deteriorates
Solution Approach 1:
Instead of using constant reflection times, the system dynamically selects values within configured intervals for each request execution. This dynamic approach maintains injection rate control through total duration management while introducing variability that reflects real human interaction patterns.
Solution Approach 2:
The system changes the reflection time parameter from a single fixed value to a variable selected from a configured interval. This parameter transformation allows the system to maintain aggregate injection rate control while introducing micro-level variability that enhances simulation realism.
3Adaptability or versatility
If variable reflection times are implemented, then the flexibility of test scenario design is improved, but the complexity of calculating total duration increases
Solution Approach 1:
The system performs preliminary calculation of the total duration required to maintain the predefined injection rate, before executing the load test scenario. By pre-calculating the target total duration based on the injection rate and number of requests, the system simplifies the execution phase while maintaining flexibility in selecting variable reflection times within intervals.
Solution Approach 2:
The system uses feedback from the sum of selected reflection time values to determine a final wait time that ensures the total duration matches the pre-calculated target. This feedback mechanism adjusts the final interval to compensate for variations in individually selected reflection times, maintaining the overall injection rate without requiring complex real-time calculations.
Data Source
Figure 1~2
AI summary
A method for testing the performance of an IT infrastructure (1), this method comprising a phase of defining a load test scenario (6) including a plurality of requests (R1-Rn), each request (Ri) being followed by a waiting time (Ti), this definition phase comprising the following steps: - determination of the total duration (T) of the load test scenario (6); - definition of a variation range for each waiting time (Ti); - selection of a value for each waiting time (Ti), this value being chosen randomly within the corresponding variation range; - calculation of the sum of the values chosen for said waiting times; - insertion of a final waiting time (Tf) into the scenario (6) such that the sum of the waiting times and said final waiting time (Tf) is equal to the total duration of the scenario (6).