当前位置:网站首页>Full stack performance testing theory - Summary
Full stack performance testing theory - Summary
2022-06-30 07:54:00 【Automated test】
What is performance testing
Definition : It simulates a variety of normal functions through automated testing tools 、 Peak and abnormal load conditions to test the performance of the system , The problems found in the performance test are not called defects or Bug, It's called Performance bottleneck , Not called repair , It's called Optimize .
1. It mainly contains three meanings :
Performance testing needs tools to implement
In addition to paying attention to normal conditions, performance testing , It also focuses on many peaks or abnormal system operation in space and time
The performance test analyzes the performance of the system with the help of various indicators monitored and collected
2. Angle of black box test
Data requests are sent over the network
The server front end receives and processes
Get relevant data from the database server
The front end returns data after processing
Application interface receives data response
3. From a programmer's point of view
Structural rationality
Database design rationality
Code and algorithm
How resources are used in the system
4. From the perspective of system operation and maintenance
Hardware resource utilization
What kind of hardware can improve system performance
Can the system support 7*24 Service for
Extensibility 、 Compatibility 、 The maximum capacity 、 Possible bottlenecks
5. Analyze performance tests from a professional perspective
Server hardware performance
Set performance goals based on requirements and historical data
Build performance model
Analyze the performance of the development code framework and hardware framework
Benchmarking against development releases
Perform performance acceptance and stability test on the software
Configuration and optimization of production environment
Develop performance test cases
Develop performance test scenario design
Specific performance analysis
Factors affecting performance

Performance test categories
General performance test : Verify whether the software can meet the performance index under normal conditions and system conditions .
The load test : Verify that the system runs longer under certain pressure , Until the system performance appears " Inflection point ".
Pressure test : Verify the performance of the system under the limit load or a certain index has been saturated .
Stability test : Verify that the system operates continuously , Check the performance indicators of the system . 11 MTBF ( The average time interval between errors )
Big data test : Verify whether various indicators of the system are normal when the system uses a large number of data to exert pressure or influence on the system .
Configuration testing : Verify that the system has different software and hardware configurations , Find out the optimal allocation of various resources of the system .
Common terms for performance

Virtual user : The performance test tool simulates the users of processing , Simulate the operation behavior of actual users .
Concurrent and concurrent users
Concurrent : emphasize ” A large number of users ” Of " Simultaneity ” operation ( This operation requires pressure on the server )
Number of concurrent users : It refers to the number of users who simultaneously perform operations that affect the server at a certain time .
Be careful : And " Number of system users " and " Number of online users ” Differences between .
Number of system users : The total number of users using a particular system .
Number of online users : Login system , Number of people using the system .
response time : contain “ Request response time ” and “ Transaction response time ”
Thinking time : The interval between requests .
Click through rate : It generally refers to the number of requests submitted by the user to the server per second .
(Web In the test, it refers to HTTP Number of requests )
Transactions per second : It refers to the number of transactions or transactions that the system can process per second .
(Transaction Per Second, TPS)
throughput : In a single business , The total amount of data interaction between client and server ; Affected by server performance and network performance .
Throughput rate : Throughput divided by transmission time . One of the important indicators to measure server performance and network performance ; It can be used in general " Number of requests / second 、 Number of pages / second 、 Number of bytes / second ” Measure in equal units .
Performance counters : Performance counters are a series of indicators used to describe the performance of various types of servers or operating systems , It plays an important role in resource monitoring and system bottleneck analysis .
Performance testing process
Performance testing process :( performance ) Demand analysis ->( performance ) test plan -> Test environment construction ( Infinitely close to the actual operating environment )-> Performance test tool selection -> The test execution -> Find performance bottlenecks -> Performance tuning and optimization -> Verification and closure .
1、 Demand analysis ( Example )

2、 Test scenarios

3、 Performance testing process
3.1 Criteria for judging whether the test results pass ( For reference only )

3.2 Skills required for performance tuning

3.3 Key points and difficulties in performance testing
Demand analysis
Scene design
Performance diagnostics tuning
Environment construction and simulation
4、 Performance test cases ( Test scenarios )-( Example )

notes : There is no reverse verification of data in the performance test ( Functional test completed )
Terms in use cases :
Marshal Point : All users come together , Concurrent .
Business : The general name of user's operation behavior 、 To measure TPF、 The basis of transaction success rate .
Expected results : After the performance test , Criteria for judging the results .
Skills required for performance testing

Performance testing tools

If you want to know, you are welcome to interact with us in the message area ~
If you think it's helpful, give it a compliment
Finally, I made up some notes of learning materials : Want to make up the learning materials, notes, and the above-mentioned full set of Huawei interview questions 【 Private letter my key words “999” Free access 】 High salary resume template ( Interview collection is free )


High salary resume template ( Interview collection is free )
![]()
边栏推荐
- F12抓包用于做postman接口测试的全过程解析
- Armv8 (coretex-a53) debugging based on openocd and ft2232h
- Digital white paper on total cost management in chain operation industry
- Simple application of generating function
- 深度学习——卷积的滑动窗口实现
- Permutation and combination of probability
- More, faster, better and cheaper. Here comes the fastdeploy beta of the low threshold AI deployment tool!
- Line fitting (least square method)
- 深度学习——Bounding Box预测
- Tue Jun 28 2022 15:30:29 GMT+0800 (中国标准时间) 日期格式化
猜你喜欢
![January 23, 2022 [reading notes] - bioinformatics and functional genomics (Chapter 6: multiple sequence alignment)](/img/48/cfe6ab95b4d4660e3ac3d84ae5303b.jpg)
January 23, 2022 [reading notes] - bioinformatics and functional genomics (Chapter 6: multiple sequence alignment)

Deep learning - brnn and DRNN

【花雕体验】12 搭建ESP32C3之Arduino开发环境

Deep learning - bounding box prediction

期末複習-PHP學習筆記3-PHP流程控制語句

More, faster, better and cheaper. Here comes the fastdeploy beta of the low threshold AI deployment tool!

期末复习-PHP学习笔记5-PHP数组

Introduction notes to pytorch deep learning (XII) neural network - nonlinear activation

Lexicographic order -- full arrangement in bell sound
![November 19, 2021 [reading notes] a summary of common problems of sneakemake (Part 2)](/img/f8/ca1874eb999dc2bbb3c1392d0b72bc.jpg)
November 19, 2021 [reading notes] a summary of common problems of sneakemake (Part 2)
随机推荐
TP5 set direct download file
Calculate Euler angle according to rotation matrix R yaw, pitch, roll source code
Deep learning - LSTM
Permutation and combination of probability
Basic theory of four elements and its application
【花雕体验】14 行空板pinpong库测试外接传感器模块(之一)
Conversion between basic data types in go data types
Cadence physical library lef file syntax learning [continuous update]
深度学习——BRNN和DRNN
Disk space, logical volume
Final review -php learning notes 2-php language foundation
深度学习——词汇表征
深度学习——循环神经网络
C. Fishingprince Plays With Array
直击产业落地 | 飞桨重磅推出业界首个模型选型工具
25岁,从天坑行业提桶跑路,在经历千辛万苦转行程序员,属于我的春天终于来了
Line fitting (least square method)
tp5设置直接下载文件
2022 retail industry strategy: three strategies for consumer goods gold digging (in depth)
Global digital industry strategy and policy observation in 2021 (China Academy of ICT)