Performance testing summary of software testing training

1. Preliminary preparation: Before entering the project, consider project expectations, risks, and solutions based on past experience, and propose an overall plan and the advantages and value of the plan. However, for unknown businesses, this plan is usually more general and less It is easy to convince customers. So it is best to ask business experts for advice.

2. Data collection: different industries and products. Businesses are very different. For what kind of data to collect, you need to be familiar with the business and do related investigations, especially direct users and business experts.

3. Data analysis:  There is a lot of repetitive work that requires a lot of skills, otherwise it is easy to get tired and make mistakes. You can use some automated script tools and professional text editors suitable for text processing or analysis, such as AutoIt, Ruby, Perl; professional editors: ultraEdit, editplus, notepad++; some shell commands are also useful, considering that it is generally a windows platform Under the data analysis, Cygwin can be installed. In this way, tools such as grep, sed, and awk can be used to filter text data, and then excel can be used for chart statistics.

4. Case writing/confirmation: Based on data analysis, typical cases are screened and specific cases are discussed with business experts. Here, in order to save time for getting familiar with the business, you can consider the case of functional testing. For complex business, the determination of the case needs to consider many aspects, such as the originating channel, the amount of data (sometimes the business volume is not large, but the large amount of data will also have a great impact on performance, you can consider doing special tests), and the physical structure of the system. Here you need to understand the performance and specific configuration of the physical device. Therefore, performance testing requires a very wide range of knowledge, and an understanding of the operating system, composition principles, and network principles is essential.

5. Formulate the plan:  the specific test plan includes the test plan, which is specified on the basis of the pre-prepared plan. Since the performance test generally needs to avoid the peak period but also needs to be consistent with the real environment (equal to or scaled down), it requires cooperation from many aspects. So the test plan needs to be very specific. Whenever possible, force code to freeze before executing test scripts.

6. Scripting: Performance testing generally uses automated tools, such as RPT, LR, TestMaker, etc. The premise of script recording is that the functions involved in the case are stable and cannot be changed greatly, otherwise the script maintenance will be very heavy, and sometimes it has to be re-recorded and parameterized.

7. Script execution:  According to the test plan, within the specified time, cooperate with multiple parties to execute the script. Performance monitoring is required during the execution process, such as: professional monitoring software such as Tivoli series, in addition to monitoring tools that come with automation tools, performance statistics/monitoring tools that come with the system. For performance monitoring, you need to be very familiar with the configuration parameters of the test environment, such as load balancing, hot standby, operating system characteristics and other performance-related knowledge.

8. Result analysis: For result analysis, know which business/transaction response time has a problem according to the report of the test tool. But it is not easy to confirm the root cause of the problem. As mentioned above, extensive knowledge is needed to detect the problem sensitively, otherwise it will only overwhelm the system, which is meaningless.

9. Test report: According to the analysis results, a test report is issued. Generally, the report needs to be read to the upper management, and sometimes it needs to be reported in person. There are non-technical factors here, so I won’t say more.

Finally:  The complete software testing video learning tutorial below has been sorted out and uploaded, and friends can get it for free if they need it【保证100%免费】

insert image description here

 These materials should be the most comprehensive and complete preparation warehouse for [software testing] friends. This warehouse has also accompanied tens of thousands of test engineers through the most difficult journey. I hope it can help you too!

软件测试技术交流群社:786229024(里面还有工作内推机会,毕竟我们是关系社会。)

Software Testing Interview Documentation

We must study to find a high-paying job. The following interview questions are the latest interview materials from first-tier Internet companies such as Ali, Tencent, and Byte, and some Byte bosses have given authoritative answers. Finish this set The interview materials believe that everyone can find a satisfactory job.

How to obtain interview documents:

Guess you like

Origin blog.csdn.net/wx17343624830/article/details/130160708