Performance testing is an effective means of optimization - performance testing, system optimization - Communications Industry
Performance testing is an effective means of optimization - performance testing
, system optimization - Communications Industry
For a more mature business systems, the function has been relatively well. But in the case of a large volume of business are often a variety of abnormalities, it is necessary to modify the system configuration or adjust the product framework to optimize the system. In the process of optimizing the system, the most effective means is that the system performance test. Then the testing process to analyze the data collected, identify the problems and continue to optimize the system, ultimately the system stable operation when a large volume of business purpose.
1, a clear test methods Test method is mainly embodied through the test procedure. Test step is not static, but each time the test results under continuously adjusted and improved. Performance test must be determined before starting the following two tasks.
(1) established business model. Carried out according to the business case, establish a scientific business model.
(2) set performance targets. Performance indicators to judge the actual performance of the design and processing of the reference value, must be explicit before the test.
Confirmed that the two can start to adjust after the cycle, a series of repeated and controlled performance testing. Adjust the cycle steps shown in Figure 1. Testing be repeated in Figure 1 four stages, until the establishment of the system to obtain initial performance objectives.
Figure 1 cycle of four stages of adjustment
2, test Test phase is to adjust the starting point of cycle operation is conducted according to test requirements related to operation and provide the corresponding statistics for the results of the test data. The stage configuration and test cases need to consider two aspects of the environment.
2.1 Environment configuration Different test environments will produce different results, so the environment before the test configuration requires detailed examination. Mainly the following aspects.
(1) Network Connectivity. Whether the network is to test whether the normal smooth the basic premise.
(2) flow model is beyond the system load. If the test is much larger than the system imposed by the traffic can bear the load, the system will produce damage and downtime occurred during the test, alarm and other anomalies.
(3) the system under test system configuration. System configuration, including software and hardware aspects. Because different system configurations will produce different results, the test should be measured prior to rigorous checking system, check their compliance with the testing requirements.
(4) test tool configuration parameters. For a relatively complete functional testing tool for not only should be able to simulate a large volume of business should be able to configure the way the pressure increases, pressure and pressure duration and other parameters, and therefore need to check before testing the corresponding parameter configuration can meet the test requirements.
2.2 test cases Performance test cases can be divided into environment configuration, pre-conditions, test steps, expected results, determine the principles and test results six aspects.
(1) environment configuration means configure the test environment in accordance with test requirements, including network configuration, network and system parameters.
(2) pre-conditions is to simulate some of the scenes and the need to pre-condition before testing.
(3) test step is to configure and preset conditions in the environment is complete, the process of how the system pressure. Generally speaking, first determine the pressure generated form (such as step increments, increasing the second curve, etc.), and then determine the pressure increasing time, eventually the pressure to keep time.
(4) expected result is the theoretical and empirical analysis of the actual test results on the expected targets or phenomena. This content is the basis of test results.
(5) determine the principle is the standard test to determine whether to meet the requirements. Determine the formulation of the principle of the test depend on the expected results.
(6) Test results are based on the actual test conditions, expected results and determine the principles of performance tests made on the overall conclusions.
3, results of statistical Results of statistical test results is a statistical process, this process is to adjust the loop connecting link stage. Statistical data from this phase of the test results the last time, and provide the basis for subsequent data analysis. Results of statistical data can be measured from both systems and testing tools, so statistical process, not only to consider the system under test obtained from statistical data, but also on their statistical testing tools. Direct access from the tested system can be worked out through the system log of system resource consumption; statistics from the pressure test tool itself can be the size of business processing delay and the success rate of business processes.
4, the results of Good system for the collection of performance data, then the analysis of these data to determine the system bottleneck. To be clear, statistical data is indicative only, does not necessarily accurately determine the actual location of the bottleneck. Because of performance issues caused by a variety of reasons, which requires from the system perspective to analyze and find out the reasons. For example, a mail system for e-mail forwarding business process testing process, while maintaining the maximum number of concurrent users online when the system resources consumed by 50%, if the single from this data the surface, this e-mail system is well, that is, to maintain maximum the number of users of system resources when there is great use of space, but if further analysis will find the system forwarding the mail is not a reasonable business process design, there is still much room for system optimization. Because of an optimized system, when it maintained the largest number of users, the system resource consumption should be 80%.
Should pay attention to making the results of the following.
(1) the sensitivity of the data found. Can take the initiative to find some seemingly "reasonable" data problems.
(2) the systematic data analysis. Test data through the surface, from a system perspective to analyze data, quickly discover system bottlenecks.
(3) data of a reasonable doubt. The purpose of testing is to find the problem, and then optimize the system. Therefore, she should be suspicious of test data, doing so can not leave out any "suspicious" data.
(4) the results of the analysis step. According to the test experience and analysis of test results can be divided into two, the initial hypothesis, prediction, test, control
2 Reasons Why Your Performance Appraisal is NOT Really About You 4 Common Causes of Slow DSL Modem Performance Top 5 Performances of NS850A Giants Coach 'Not Pleased' With David Carr's Preseason Performance 3 Series headlights - enjoy peak performance at night Speed Up Hard Drive Performance - It Can Be Fixed Now ! Better Performance And Economy From Bridgestone Tyres. Cherry picker: A combination of performance and strength Private Tuition Increases Performance of Students Brake pads - show stopping performance Improve Company Performance By Creating High Performance Teams Cosmetic surgery and laser performance Titleist AP1 Irons—Excellence Performance
Performance testing is an effective means of optimization - performance testing, system optimization - Communications Industry Anaheim