Performance Test Step Carding _ test

Source: Internet
Author: User

Recently in the training of new employees, the performance test steps carried out a summary and comb, put here for everyone to shoot bricks ...

Performance Test Requirements Collection: This step is called lofty high-rise ground, from scratch process, collect product demand performance indicators, we from the performance testing purposes, can generally try to rely on the software hardware environment, software architecture to consider, if encountered professional product personnel, nature to worry some, If you encounter unprofessional product personnel, then a little hard. This phase of the work to determine the success or failure of the later design, is very critical, the specific method, and so I finished after the completion of another write a brick article.

Access model modeling: Different product user numbers and usage habits, some products belong to work time, and some products belong to the rest time, such as an electrical business site, then most users will be at noon, the afternoon before work, eight o'clock to 10 o ' clock this time visit intensive, such as this site to pick up 1 million passengers a day , you should not give an average of 24 hours a day, or there will be no pressure at all. The establishment of the access model determines the correctness of the scene design, and the data can be provided by the company's data support department to ensure accuracy.

Environmental construction: The most important thing, I often interview engineers will ignore this link, to see if they will automatically mention this, if the link can be mentioned so that the engineer's understanding of the test has been a certain degree. The performance test environment and the functional test environment are different, the performance test environment requires simulation of the real environment, how to simulate here, it is based on the software architecture involved elements: network bandwidth, server hardware indicators, database environment, database content environment, these need to be consistent with the online environment, So it is important to deploy a highly approximate performance environment.

Tool selection: A lot of tools, not best only the most appropriate. So it's better to choose what is right. This is relative to the requirement is appropriate, no other indicators.

Scene Design: This simple is divided into two methods, one is the detection, the first test system to fully pressure, to find bottlenecks, many people like to use this method, the advantage is simple and easy to operate, the disadvantage is the direction of unknown, tiring. Second, farsighted-type, the need for a certain degree of software architecture analysis experience, first from the framework, analysis of the product may have bottlenecks, and then design targeted scenes, and finally in the unified detection. After the design is good, it is a good idea to invite people to review.

Script design: The correct and effective script is designed according to the scene, the front is done, this step is not difficult.

Test execution: Next step, one scene over the scene. Record the monitoring of the test of various indicators, the understanding of indicators represents the performance test engineer's skill, if you do not understand those system indicators, the so-called performance test is only generalities, there is no real significance.

Results analysis: According to the above test data analysis, this analysis ability is not practiced overnight, need to accumulate slowly, first of all, we should be familiar with the common system indicators, as well as the significance of these indicators changes, such as the memory of the page/sec, this if more frequent, it is necessary to consider whether the memory set

Tuning scheme: According to the results of the analysis, to give a reasonable tuning scheme, we can start from three aspects to design: code-level tuning, database tuning, the structure of tuning. Code-level tuning relative cost is lower, the architecture tuning cost is higher, said here then back, in the framework of the design test if you can put forward a certain optimization recommendations, it is really save costs. So it is very cost-effective to get involved in the test as early as possible, of course, if the tester is more powerful.

This time to write so much, we saw can make a brick, you shoot one I shoot one, film to the end of the show.

Copyright NOTICE: This article is from the HUMH 51Testing Software Test Blog: http://www.51testing.com/?316625

Original works, reprint, please be sure to hyperlink form to indicate the original source, author information and this statement, otherwise it will be held accountable.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.