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

Beginner performance test

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

When the system is just online, there are not many users of the application system, even in the trial run stage. In order to ensure that the system can run efficiently for a long time in the future, and provide users with good performance, how to test. When the number of users increases significantly, the system will make relative adjustments, so how should we adjust to ensure that it is more effective? When the performance of the system can not meet the expected performance requirements. How do we find out why, and then how to adjust the system? This needs to be tuned through performance tests.

There are also many performance testing methods, and I have learned that there are load testing, stress testing and so on.

The method of performance testing is to simulate the combination of the pressure and the use scenario when the system is running, and to test whether the performance of the system can meet the production performance requirements.

1. The main purpose of this method is to verify whether the system has the capabilities claimed by the system.

The performance testing method includes determining the user's scenario, giving the performance indicators that need to be paid attention to, test execution and test analysis, which is a test method that completely determines the running environment and test behavior of the system. its purpose can only be based on prior performance planning to verify whether the system has achieved its claimed capabilities.

two。 This method requires prior knowledge of the typical scenarios of the system under test and has a definite performance goal.

The performance testing method needs to first understand the typical scenario of the system under test, the so-called typical scenario refers to the representative user business operations, a typical scenario includes the operation sequence, the number of concurrent users.

3. This approach requires you to run in a determined environment.

The environment in which the performance test method is run must be determined. The performance of the software system is related to many factors, so for this kind of confirmatory testing, the environment at the time of testing must be determined.

Load testing

Load testing is through the continuous increase of pressure on the system under test until the performance index. This method can find the processing limit of the system and provide data for system tuning.

1. The main purpose of this performance testing method is to find the limit of the processing capacity of the system.

Load testing by means of testing-pressurization-until the performance index exceeds expectations, the main purpose is to find the limit of the system's processing capacity.

two。 This performance testing method needs to be carried out in a given test environment, and usually needs to consider the business pressure and typical scenarios of the system under test, so that the test results have business significance.

3. Load testing can be used to understand the performance capacity of the system, or to work with performance tuning

In the case of ensuring a certain response time, the system can allow how many concurrent users to access, used to cooperate with performance tuning, using this method to compare the performance differences before and after tuning.

Pressure testing

Stress test is to test the session ability that the system can handle in a certain saturated state (CPU, memory), and whether the system will have errors.

1. The main purpose of stress testing is to check the performance of the system under pressure.

Stress testing is mainly by increasing the pressure of access is to maintain the use of resources in the application system at a certain level, the main purpose of this testing method is to verify the performance of the application at this time, is the wrong information and the corresponding time.

two。 Generally, the stress test makes the resource use of the system reach a high level by simulating the load method.

3. Pressure testing is generally used to test the stability of the system.

4. In the stress test, it will check whether the system will have errors in the stress state, and whether there will be memory problems in the test.

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