Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Software performance testing from the Perspective of work content

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

In the previous article, we learned about the basic concepts and significance of software performance testing, so in practice, what is the content of performance testing? In this article, we focus on what performance testing does. 1. Test to confirm understanding of the system under test, find test points, confirm test scope, test environment, etc. Some important information needs to be discussed and confirmed with PM, requirements personnel, and designers, such as which functions users use most frequently, which performance is most concerned about, which pressure points on the program may be, which data needs to be simulated to the real level, and which test methods generally need to be used. 2, to determine whether the standard performance is good or bad, whether the test passes, there must be clear standards. This standard is mainly considered from two aspects: customer expectations generally refer to the response time on the page, and business requirements are the processing capacity of the system, generally throughput or TPS (transactions completed per second). The standards are not reasonable, the test results may not reflect the true performance of the system, or the customer will not accept the software that we think passes. As for how to set it specifically, it needs to be confirmed jointly with the business leader (usually PM) and the technical leader (usually designer). The business leader understands the actual needs and expectations of users, and the technical leader understands the specific implementation and can judge which requirements cannot be met. Once a consensus is reached, testing must be carried out strictly according to standards. 3. The test design is mainly analyzed from the aspects mentioned above, and a reasonable test scenario is designed according to the characteristics of the system. In order to make the test results more accurate, it requires careful work. For example, building user models, only by knowing how real users exert pressure on the system can representative stress test scenarios be designed. This involves a lot of information, such as the distribution of user groups, functions used by various types of users, user usage habits, working hours, pressure distribution of various modules of the system, and so on. Only by accumulating this data from multiple aspects will the stress scenario make more sense. Finally, the design scenarios are transformed into concrete use cases. The design of the test data is also an important and problematic area. Generating test data to reach the expected amount in the future is only the most basic step. What needs to be considered is whether the distribution of data is reasonable. It is necessary to carefully confirm the various query conditions used in the program. The values of these key columns should simulate the real data distribution as much as possible (data statistics, implementation plan related content, not detailed here), otherwise the test result may be invalid. In addition, during the performance test execution process, various indicator data that need to be monitored and collected also need to be clarified. 4. Test environment Prepare to deploy test environment, generate test data, pre-tune environment, etc. Test execution, monitoring Prepare test scripts, execute previously designed use cases, monitor and collect required data. 6, problem analysis positioning, tuning found problems or performance indicators do not meet expectations, timely analysis and positioning, repeat the test process after processing. Performance problems are often interrelated and what appears to be a phenomenon is likely not a fundamental problem but a reaction to another problem. This requires monitoring and collecting data to be comprehensive and to judge positioning from multiple angles. The process of tuning is actually a balanced process, and it is enough to achieve a balance in many aspects of the system. 7. Performance report summarizes all kinds of data recorded in the test process into a report, and clearly displays the results required by all aspects. Of all the above, if technical problems are excluded, the hardest part of performance testing to do well is the analysis of user models (or system usage models). It directly determines whether the pressure test scenario can effectively simulate the real world pressure, and it is this simulation of real pressure that makes performance testing more meaningful. It can be said that the performance test to a certain extent, the gap is reflected in the model building. As for the analysis, location or tuning of performance problems, it is largely a technical problem that requires multiple aspects of expertise. Databases, operating systems, networking, and development are all skills that a qualified performance tester needs to have in order to consider analysis problems from multiple perspectives. Shandong Province software evaluation center director Han Qingliang said: "For testers, technical ability is only an auxiliary means, testing ideas is the most fundamental." "Sharp sense of smell, rigorous logic, reasonable speculation, bold practice are the essential elements of a qualified test engineer.

If you have any questions, please visit http://www.×××/

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report