Performance Test-Performance Test Type (2)

Benchmarks

Benchmark Testing, also known as single-user testing, is mainly used to monitor the operating status of the system under test under low pressure and record relevant data. After the performance testing environment is determined, important businesses in the business model are usually selected for benchmark testing, and a certain amount of pressure is exerted on the system under test to obtain various performance indicators of the system under test under single-user operation, which provides the basis for multi-user concurrent testing and Provide reference basis for mixed scenario testing, etc.

load test

Load testing focuses on the system's ability to handle different loads, which can be achieved by controlling the number of concurrent users or processes. When performing load testing, the changes in system performance are monitored by continuously increasing the concurrent access load on the system until one or more performance indicators of the system reach a safety critical value. It is ultimately determined that under the performance indicators that meet the safety critical value, the performance of the system will be The maximum load it can bear. In short, load testing determines the processing capabilities of the system through gradual loading.

Load testing is similar to weightlifting in that the athlete is continually adding weight to determine the maximum weight the athlete can lift while maintaining normal physical condition. Through load testing, you can obtain the peak indicators that the system can achieve. For example, the response time of a software system is required to be no more than 2 seconds. If the number of user visits continues to increase under this premise, the system's response time will become longer. Assuming that the system response time exceeds 2 seconds when the number of visits exceeds 10,000, then it can be determined that the maximum load of the system is 10,000 people on the premise that the system response time does not exceed 2 seconds.

Load testing can be used in scenarios such as system performance verification, performance diagnosis, and performance tuning.

pressure test

Stress Testing is used to evaluate the behavior of the system under test under conditions that are higher than expected, higher than specified capacity load requirements, or lower than minimum required resources.

Stress testing focuses on the ability of the system under test to handle loads that exceed expected or specific peak loads. It can also be used to evaluate the system's processing capabilities when resources are scarce, such as when available computing power, bandwidth, and memory resources are insufficient. Stress testing is usually performed by gradually increasing the system load.

Guess you like

Origin blog.csdn.net/seanyang_/article/details/132922249