What performance test performance test in the end is learning 1-

Performance testing concepts

Performance testing has become a performance strategy or method performance, usually see performance testing, load testing, stress testing, strength testing, etc. can be collectively referred to as performance testing
, for example, stress testing is to run the system exceeds the expected load
capacity test is to make system to withstand the excess data capacity to find out whether it can properly handle
---
of course, there are some other concepts are also relevant limit test, but just describing different aspects of performance

The definition of reasonable performance testing

Performance Testing for performance system, the establishment of performance test model, the specified performance test program to develop monitoring strategies, execution performance scene in the scene conditions, analysis to determine performance bottlenecks and tune the final results performance results to evaluate whether the performance indicators in Seattle meet predetermined value

The following can also be divided explain the whole performance testing procedure can also be used as ideas to carry out performance tests

Performance testing requires a model

What is the performance testing model? It is a business model that is the real scene, such as a power system provider, login, purchase orders, payment can be regarded as a business model
basic performance test model selection is based on the actual business scenarios come to select, such as business peak, the importance of business, real statistics online service in which concurrent multi actual, overall business specific gravity, which are part of the model can be counted, to obtain a usable result of a series of analysis results (the object may be carried out performance tests)

The need for performance testing program

Performance testing program must have a few key points, namely, test environment, test data, test model, performance indicators, pressure tactics, a quasi-access and schedule risk.
The overall configuration of a test program

Performance testing requires monitoring

Performance test monitoring, the need for layered, paragraphing have global surveillance, targeted surveillance capabilities

Performance testing requires a predetermined condition

Conditions here refers to a hardware and software environment, test data, test execution policy, pressure compensation content, etc., these conditions require before scenario execution, these conditions should be determined to
some scenes will then dynamically change the dynamic pressure expansion, also has a definite strategy, for example, we determine CPU usage reaches 80% or I / O response time to reach 10ms, do dynamic expansion. These are also predetermined condition.
So the performance test engineers need to understand some of the work done on the software and hardware resources, test data and test execution strategies need to figure out, in order to effectively complete the performance test

Performance testing requires a scene

It can be said, "the performance of the scene," the word occupy a pivotal position in performance testing, but many of us do not understand how a "scene" should be defined. Scene from English scenario, the performance of scenes in the "scene" more authentic description is: in a given environment (including dynamic expansion strategy), established data (including data change scenario execution), established implementation strategy , under the established monitoring, performance script execution, while observing the state at all levels of system performance parameters, and real-time analysis to determine whether the scene in line with expectations.
General classification of the performance test scenarios:
1. The benchmark scenario: the capacity of a single transaction, to prepare for mixed capacity
2. Capacity performance scenarios: according to the complexity of the different business, this part of the scene will devise a number
3. Stability performance scene: stable testing must be a classification performance scene. Only now in the actual project, the basic stability testing and production is not too consistent. In the stability test, obviously the core element is the time (in the capacity of the business model have been identified in the scene), and time settings should come from operation and maintenance cycle, rather than from the owner of these people, products and other psychological architecture a sense of security.
4. abnormal performance scene: do abnormal performance scene, the premise is to have pressure. Under pressure flow, simulation exception.
Performance test scenarios can also be tested in the test case.

Performance testing requires analysis tuning

Performance testing in the end is to locate performance issues, performance verification or need to have follow-tuning capabilities, different opinions here,
for the need for tuning, you can do the following division:
1. The new system performance test: This project is necessary to test the capacity of the system peak , or on the line did not end
2. the old version of the system performance test: to do with the original performance comparison, the performance did not decline as long as you can, tuning is not required
3. the new system performance optimization: not only measure the maximum peak capacity, also need to be adjusted excellent

As for tuning the policy, and then follow-up article explained

Performance testing requires a report on the results

If it is an internal project, a table or a message on it, but professionalism is not enough
we need to know, most of the boss or bosses concerned is the result of the test, rather than how many people, how much time these does not make sense digital. We should write TPS raised in the report before and after the excellent response time and resource comparison chart.

Performance testing concept map

ps: This article is for learning to use reference record.

Guess you like

Origin www.cnblogs.com/yeyeyeyey/p/12099635.html