Virtual User Compensation for Enterprise System Testing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional performance and reliability testing tools lack the capability to maintain a constant transaction per second (TPS) rate during test runs due to abrupt termination of virtual users, leading to incomplete system availability assessments, increased testing time, and additional costs associated with architectural changes and incremental debugging.
Innovation Solution
A method and apparatus for compensating terminated virtual users by creating new virtual users and assigning them to the enterprise system based on pre-defined rules, ensuring constant TPS and high system availability, with a test controller managing virtual user compensation and load distribution across components.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If virtual users are allowed to terminate during test runs, then system failures can be detected, but constant TPS cannot be maintained
Solution Approach 1:
The test controller automatically detects terminated virtual users and creates replacement virtual users without human intervention. The system monitors user termination events, identifies the cause, and autonomously compensates by spawning new virtual users to maintain the target TPS, eliminating the need for manual test run management.
Solution Approach 2:
The system continuously monitors the actual TPS during test runs and compares it against the target TPS. When virtual users terminate and TPS drops below the target, the feedback mechanism triggers the creation of replacement virtual users to restore the desired load level, creating a closed-loop control system for TPS maintenance.
2Reliability
If multiple incremental runs are performed to resolve user terminations, then system availability can be assessed, but testing time and costs increase
Solution Approach 1:
The system ensures that test runs continue uninterrupted by automatically replacing terminated virtual users in real-time. Instead of stopping the test run to investigate and resolve user terminations, the continuous action principle keeps the load constant throughout the entire test duration, allowing single-run availability assessment.
Solution Approach 2:
The test controller pre-configures replacement virtual users with the same operational profiles and target components as the terminated users. When a user terminates, the pre-prepared replacement logic immediately activates, ensuring seamless continuity without requiring test analysts to manually reconfigure or restart test sequences.
3Reliability
If virtual users are compensated to maintain constant TPS, then system availability assessment improves, but test controller complexity increases
Solution Approach 1:
The test controller is designed to perform multiple functions: it acts as a traditional load generator, a monitoring system for detecting user terminations, an analysis engine for identifying termination causes, and a dynamic user creation manager all in one unified component. This multi-functionality reduces the need for separate specialized tools and simplifies the overall test infrastructure.
Data Source
AI summary
In a method of virtual user compensation by a test run system of an enterprise system, the termination of a virtual user is identified and a new virtual user is created to compensate for the terminated virtual user. The new virtual user is then assigned to the enterprise system. Rules associated with the conditions of virtual user termination indicate how to compensate for the terminated virtual users.


