Login | Join Free

Hotline

4008-655-800

Testing tips: what tests are included in performance testing?

Date:2021-09-28 15:03:28 Views:1945

What is performance testing? Performance test is to test various performance indexes of the system by simulating a variety of normal, peak and abnormal load conditions through automatic test tools. Both load test and stress test belong to performance test, which can be carried out in combination. Through the load test, the system performance under various workload is determined. The goal is to test the changes of various performance indexes of the system when the load gradually increases. Stress testing is a test to obtain the maximum service level that the system can provide by determining the bottleneck or unacceptable performance point of a system.

What tests are included in the performance test? Performance test includes load test, strength test, capacity test, etc

1. Load testing:

Load test is mainly to test whether the software system meets the goal of requirements document design, such as the maximum number of concurrent users supported by the software in a certain period of time, software request error rate, etc. the test is mainly to test the performance of the software system.

2. Strength testing:

Strength test is also called stress test. Stress test is mainly used to test whether the hardware system meets the performance objectives of requirements document design. For example, in a certain period of time, the system's CPU utilization, memory utilization, disk I / O throughput, network throughput, etc. the biggest difference between stress test and load test is that the test purposes are different.

3. Volume testing:

Determine the maximum bearing capacity of the system, such as the maximum number of users, the maximum storage capacity, the maximum processed data flow, etc.

检测小知识:性能测试包含了哪些测试?

Basic indicators of performance test:

1. Response time: T1 + T2 + T3 + T4

Time1: client server (send request)

Time2: server processing time

Time3: database processing time

Time4: server - client (return data)

2. Concurrent \ concurrent users \ concurrent users: the number of request users sent to the server within a certain time

a. Concurrency of doing the same thing at the same time (single interface performance test)

b. Concurrency of doing different things at the same time (mixed business scenario test)

Therefore, generally, the performance test of a single interface is conducted first, then the performance test of a single service, and finally the performance test of a mixed service scenario.

3. TPS (transaction per second): the number of transactions processed by the system per second

The higher the TPS, the better the processing capacity of the server.

QPS: queries per second

This is also the most important index value in performance testing.

4. Throughput: transactions / s, KB / S

The throughput is equal to the TPS value without being affected by network delay.

5. Resource utilization: mainly including CPU, memory, disk and I / O (swap in / swap out)

Generally, it is required not to exceed 80%. The lower the occupancy rate, the better the performance.

Knowledge points for performance test:

1. Proficient in some basic aspects of performance testing: concept, process, methodology, performance engineering, etc.

2. Proficient in performance testing tools: commercial testing tools or open source performance testing tools. However, we must know what these tools can and cannot do, as well as the common problems and solutions in the use of the tools.

3. Certain solid computer professional basic knowledge, such as computer composition principle, operating system, database principle, computer network principle, etc.

4. Be familiar with at least one common database product, such as SQL server or Oracle, be able to perform general database management operations, be familiar with the use of SQL scripts, and be familiar with common data tuning tools and common counters.

5. Be familiar with the principle of at least one operating system, such as windows we often use or Linux we rarely use. Familiar with operating system: architecture, basic concepts of operating system, memory management, storage / file system, driver / hardware management, implementation and composition of network protocol, performance monitoring methods and principles, and familiar with common counter.

6. Be familiar with at least one web server product, such as Apache, and understand the general configuration and common counters.

7. Be familiar with at least one application server product, such as tomcat, understand the general configuration, familiar with the commonly used server performance monitoring methods and principles, and familiar with the commonly used counter.

8. At least be familiar with TCP / IP protocol and HTTP protocol, and have seen and understood the use and configuration of layer 3 and layer 4 switches or routers. Learn about common counters related to network performance.

9. Understand the deployment architecture and application architecture of general large enterprise applications.

10. Understand the architecture and optimization process of well-known large-scale web applications, high concurrency, high traffic and high real-time response requirements.

11. Be familiar with the basic knowledge of statistics, common analysis methods and experimental design methods, and understand the knowledge related to mathematical modeling.

12. Be familiar with the business knowledge and user scenarios of the exclusive industry, such as the business knowledge and user scenarios involved in the OSS system of the telecommunications industry, and the business knowledge and user scenarios involved in the securities trading system.

13. Extensive experience in practical performance testing and optimization.

14. Actively participate in the discussion, exchange and sharing of various circles and associations.

The above is the relevant content of the "performance test" brought by the core creation test. Through this article, I hope it can be helpful to you. If you like this article, you might as well continue to pay attention to our website, and we will bring more wonderful content later. If you have any needs related to the inspection and testing of electronic products, please call Chuangxin testing, and we will serve you wholeheartedly.