Messages often pay attention in software performance test
Squire: aken
1 Introduction
As an important means of evaluating product performance, performance testing has always been a lot in software testing, and ultimately provides an accurate, authoritative test report, and the efforts of testers are naturally indispensable, but more important is testing Clear work ideas, concise test processes and good test methods.
2. Problems in the current performance test
Summarizing the performance tests conducted, although the tester has been seriously responsible for the test work, but after the test report is released, everyone will always feel that the beauty is infected, and the test results are doubts, especially in those time spans longer, target different In the performance comparison test of the test object, more or less have the following aspects: 1. The test is insufficient, the test goal is not clear, the test plan is not detailed; 2. Lack of testing and technical reserves for test objects; 3. The stability of the test environment is insufficient; 4. The accuracy and representation of the test data; 5. Test Description is not refined; then, we analyze the above problems, explore how to solve these problems.
3. Performance test preparation
This is a circle that is often ignored by the tester. After receiving the pressure regulatory task, based on various other factors, testers are often eager to progress, immediately put to specific test work, test, record, analysis, and busy It's not easy, the work has been discovered, or the hardware configuration does not meet the requirements, or the network environment is not ideal, even the software version is wrong, and it is difficult to ride the tiger. This is not a tiry. So how should we do your preparation for performance testing? Doing a software project has a demand survey, we need to analyze, and we do testing. After getting the test task, our primary task is to analyze test tasks. Before starting testing, we must at least understand the following questions: a) Who is to test what or test? B) What is the problem to test or we want to figure out or demonstrate? C) What factors affect test results? D) What kind of test environment is needed? E) How should I test? Only after careful investigation and testing requirements and carefully analyzing the test task, it is possible to clarify the problem of the above example. Only if we are very clear about the test task, we may develop a practical test plan. . Clear test goals, the detailed test plan is based on the full understanding of the test demand, which is beneficial to the implementation of the test. The test plan is developed, most professional test books are more detailed, so this article is no longer described.
3.1 Test Technology Preparation
In the current environment, the tester is required to hold all soft and hardware knowledge in a short time, but the usual tester should pay close attention to the research of test tools and test theory, in the test plan, should give research Test objects and test tools allocate adequate learning time, only to fully understand the test tool, we can implement the test. The test of the incorrect understanding of the wrong understanding, which makes you strive, the result is also a lack, and it is difficult to prove the problem, and you don't have to say to the user with this test.
3.2 Configuring the test environment
Only on the basis of fully understanding the test object, we know that each test object, what kind of configuration is needed, it is possible to configure a relatively fair, reasonable test environment (which is especially important in performance comparison). . Considering other factors, such as network lock, network speed, display resolution, database permissions, capacity, etc. on test results. If conditions permit, we can best configure several sets of different test environments. 3.3 Acquisition and processing of test data
In all tests, the collection of test data is more difficult. The GIS software is even more such that each software has its file format, and some software has several formats. In this case, we can only convert data in third-party format into each format of each test software. At the same time, the data is also handled, such as processing data redundancy, processing display style, etc. If you update the data as you test, you must back up the data before the operation. In addition, data format and data volume should also be evaluated, and multiple sets of data should be prepared if necessary. Finally, you must check the effectiveness of the test data to avoid damage to the data on the test results.
4. How to carry out performance testing
The preparation of the test is complicated, and the test preparation is done, it has been completed for a large number of test work, but it is necessary to have a persuasive test report, but also correctly grasp the strength of the test, maintain the consistency of the test, Improve the accuracy of the test. Judging the quality of the software, to see the software to solve the practical application, only at a certain test strength, can test the consumption rate of various software resources, the speed of software, the stability of software. Through comparison at different test strengths, each functional module of different software solves the ability of practical problems and software operation, we may judge the strength of each module of different software, and even the entire software. After the performance test begins, all parameters should follow the unified standards, no matter which link, even if it is a little bit deviation, it should be corrected immediately, and I can't save luck. Pay special attention to the impact of the external environment on the test results. If the external environment is inconsistent, if the network speed is different, if the network speed, the machine memory usage is different, it is possible to cause the test results to be inserted with the actual situation.
5. How to sum up performance testing
The end of the test is actually analyzed and handled on the test data. We have good test work, such as the final to the user's hand is a pile of messy data, that is also infered. First, we must filter out a representative data from all the test data, make a chart, and then analyze the data, find out the problem of software, and draw the test conclusion. Most users really need is scientific, objective test conclusions.
6 Conclusion
Various software performance tests, range size, good intensity, but as long as the work attached to this article, it is not difficult to test the test work. This article is mainly talking about software performance testing, and it is believed that there must be a certain reference to other aspects.