Performance Test Personal Experience Summary _ performance test

Source: Internet
Author: User
Performance Test Definition:
Through a certain tool combined with the corresponding testing methods, the application of the deployment system test, found that the system application of the internal code logic problems and application of the deployment of machine hardware resource bottlenecks and application deployment architecture There are architectural errors, such as: Network end, client, service-side structure of the problem;
Load test: An analysis of software applications and support architectures, simulation of the use of the real environment, so as to determine the performance can be received;
Stress testing (Stress testing): To obtain the maximum service-level test that the system can provide by identifying a system bottleneck or a performance point that cannot be received;
The purpose of performance testing:
The purpose of performance testing is mainly embodied in three aspects: based on the real business, select Representative, key business Operation design test cases to evaluate the system's current performance; When you extend the functionality of an application or when a new application is about to be deployed, the load test helps determine if the system is still able to handle the expected user load To predict the future performance of the system; by simulating hundreds of thousands of users, repeating and running tests, you can identify performance bottlenecks and optimize and adjust applications to find bottlenecks;
Project development cycle: Initial moment, the project pays more attention to is the function realization, at this time the function test appears especially important, the test early intervention, may anticipate the risk in advance, reduces the project development cycle, saves the development cost; After the function test stage, the individual thinks should be the performance test (imagine, if a project even function cannot achieve, How to talk about performance testing); After the function completes, introduces the performance test, through the performance test to the development project latent problem to carry on the examination (function test, is only a few person or dozens of person simple correspondence uses one test, for the application real on-line after the massive user uses, the application existence latent risk, And can not make a good prediction, especially under the current unprecedented competitive pressure, the application of the failure after the line, it is likely to lead to the entire project failure; for example: 12306 booking site, the use of large, may be unprecedented in the world, the mobilization of national personnel to test application performance problems, it is certainly impossible If you do not pass the performance test, rashly online, in so many users, the system crashes will be a consequence. );
Case-sharing: The editor has worked on a project that accompanies the project at all times. Early stage, due to testing early intervention, as well as the development of the Agile project to develop the way, the project soon in less than six months time, function near perfect completion. The project manager, on the safe side, introduced performance testing to assess the potential risk of the project, and then built a simulation environment, designed for performance testing, building a simulated environment of 30 users running concurrently, project a little problem, and further improve the number of concurrent users, a variety of problems ensued After the system tuning (the published application system parameters, etc.), some problems solved; In order to further test the actual situation of the problem, the performance test environment from the simulation environment cut to the production environment, this time is a large number of users concurrency, some of the business is no problem, But more of the problem is focusing on some business scenarios that involve workflows, background log a variety of errors, through the crawl background log, the problem of positioning analysis, quickly to solve the code development in the existence of some logic problems; After the code is repaired, the problem is almost non-existent; The project is soon over, Greatly shorten the project development cycle, save the development of success, better suited to users;
Performance Test Note points:
Recording scripts as much as possible to simulate the actual user operations, in the scene design, as far as possible consistent with the actual scene, for users to use more business, should focus on;
Performance test in the actual production environment as far as possible, the general simulation environment can not really find the actual production environment, the application of the problems, but not to abandon the simulation environment;
Performance test, for application system deployment environment, may need to deploy some system performance monitoring software, in the selection of software, as far as possible to reduce the software itself running on the system performance impact;
Performance testing, especially in the application and database interaction business operations, the need for early prefabrication to meet the performance test business needs of data, on this basis, as far as possible environment test environment can be repeatedly used, which requires data, application can be restored;
.....
This paper has been transferred from 51Testing Software test network

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.