Maintaining workloads during performance testing
View Patent ↗Monitoring a set of virtual users during performance testing and reporting virtual user operations data to ensure an ongoing and constant transactions per second load and providing test result data with evidence of constant transactions per second (TPS) during the test. Generating and executing performance tests under constant TPS includes restarting virtual users that are terminated during the performance tests.
1. A computer-implemented method comprising:
establishing a virtual user group from a set of virtual users for operation according to a test strategy;
performing a soak test under a constant transactions-per-second load using the virtual user group;
monitoring each virtual user of the virtual user group for termination conditions for the duration of the soak test;
responsive to detecting an abnormal termination condition, identifying the terminated virtual user; and
restarting a terminated virtual user during the soak test.
2. The computer-implemented method of claim 1 , further comprising:
collecting test report data during performance of the soak test including identification of each virtual user that is terminated, reason for termination of each virtual user, and average restart time for a terminated virtual user to be restarted during the soak test.
3. The computer-implemented method of claim 1 , wherein establishing the virtual user group is further according to individual pre-defined characteristics and functions of the virtual users.
4. The computer-implemented method of claim 1 , further comprising:
generating a soak test model using the test strategy; and
wherein:
performance of the soak test is done according to the test strategy.
5. The computer-implemented method of claim 1 , further comprising:
presenting a soak test report for the soak test, the soak test report demonstrating a constant transactions-per-second load.
6. The computer-implemented method of claim 1 , further comprising:
maintaining a simulated workload with the virtual users throughout the duration of the soak test.
7. The computer-implemented method of claim 1 , wherein the termination condition is an abnormal termination of a virtual user.
8. A computer program product comprising a computer-readable storage medium having a set of instructions stored therein which, when executed by a processor, causes the processor to perform a method comprising:
establishing a virtual user group from a set of virtual users for operation according to a test strategy;
performing a soak test under a constant transactions-per-second load using the virtual user group;
monitoring each virtual user of the virtual user group for termination conditions for the duration of the soak test;
responsive to detecting an abnormal termination condition, identifying the terminated virtual user; and
restarting a terminated virtual user during the soak test.
9. The computer program product of claim 8 , further causing the processor to perform a method comprising:
collecting test report data during performance of the soak test including identification of each virtual user that is terminated, reason for termination of each virtual user, and average restart time for a terminated virtual user to be restarted during the soak test.
10. The computer program product of claim 8 , wherein establishing the virtual user group is further according to individual pre-defined characteristics and functions of the virtual users.
11. The computer program product of claim 8 , further causing the processor to perform a method comprising:
generating a soak test model using the test strategy; and
wherein:
performance of the soak test is done according to the test strategy.
12. The computer program product of claim 8 , further causing the processor to perform a method comprising:
presenting a soak test report for the soak test, the soak test report demonstrating a constant transactions-per-second load.
13. The computer program product of claim 8 , further causing the processor to perform a method comprising:
maintaining a simulated workload with the virtual users throughout the duration of the soak test.
14. The computer program product of claim 8 , wherein the termination condition is an abnormal termination of a virtual user.
15. A computer system comprising:
a processor set; and
a computer readable storage medium;
wherein:
the processor set is structured, located, connected, and/or programmed to run program instructions stored on the computer readable storage medium; and
the program instructions which, when executed by the processor set, cause the processor set to perform a method comprising:
establishing a virtual user group from a set of virtual users for operation according to a test strategy;
performing a soak test under a constant transactions-per-second load using the virtual user group;
monitoring each virtual user of the virtual user group for termination conditions for the duration of the soak test;
responsive to detecting an abnormal termination condition, identifying the terminated virtual user; and
restarting a terminated virtual user during the soak test.
16. The computer system of claim 15 , further causing the processor to perform a method comprising:
collecting test report data during performance of the soak test including identification of each virtual user that is terminated, reason for termination of each virtual user, and average restart time for a terminated virtual user to be restarted during the soak test.
17. The computer system of claim 15 , wherein establishing the virtual user group is further according to individual pre-defined characteristics and functions of the virtual users.
18. The computer system of claim 15 , further causing the processor to perform a method comprising:
generating a soak test model using the test strategy; and
wherein:
performance of the soak test is done according to the test strategy.
19. The computer system of claim 15 , further causing the processor to perform a method comprising:
presenting a soak test report for the soak test, the soak test report demonstrating a constant transactions-per-second load.
20. The computer system of claim 15 , further causing the processor to perform a method comprising:
maintaining a simulated workload with the virtual users throughout the duration of the soak test.