当前位置:网站首页>Performance testing of software testing
Performance testing of software testing
2022-07-05 22:04:00 【Don't go! Brother Wan loves you】
1. Concept
Performance testing is Using tools , Simulate different scenarios , Test and evaluate the performance indicators of the software .
2. Scope of software performance test
web Applications 、 database 、 Server resources (CPU、 Memory 、 disk 、 The Internet )
3. Purpose of performance test
Assess current system capabilities , Get key performance indicators ; Compare with similar software ; Find performance bottlenecks , Optimize performance ; Evaluate whether it meets future performance requirements .
4. Performance test and function test
Functional testing focuses on software functions , Demand is satisfied
Performance testing focuses on the satisfaction of software business scenarios
Software function test and performance test are carried out
After passing the function test , In performance testing
5. Performance test categories
The benchmark : A small number of users conduct business scenario testing , And count the performance indicators , As a reference for subsequent tests .
The load test : By gradually increasing the system load , Test for changes in system performance , On the premise of meeting the performance index , Test of the maximum load that the system can bear .
Optimum load : The maximum load without exceeding the index
Maximum load : The load when the throughput is maximum
Stability test : The server runs stably ( Normal business load ) Under the circumstances , Conduct a long test , Ensure that the server can run normally .
Pressure test : In certain software and hardware , Under the network condition , Simulate high concurrency of users ( Peak load ), For a while , Test various performance indexes of the system , Focus on the performance of the system at peak .
6. Performance indicators
response time : In certain software and hardware , Under the network condition , Simulate high concurrency of users ( Peak load ), For a while , Test various performance indexes of the system , Focus on the performance of the system at peak
Concurrency number : Number of system users User registration
Number of online users Number of users accessing the system over a period of time ( Diurnal activity )
Number of concurrent users The number of users accessing the system at a certain time
throughput :QPS The number of requests processed by the server per second
TPS The number of transaction requests processed by the server per second
A transaction may contain multiple requests ( Home page display , Need pictures 、 Interface )
6. Performance testing process
1、 Demand analysis
Attribute the business and architecture of the system under test
Define the test content , Select core business for testing , Test the business with complex logic
Determine performance test indicators
- Demand : Test as needed
- There is no demand : Comparison of the same type of software , Estimate future data
2、 Performance test plan
In terms of template content , Basically consistent with the functional test , The main thing is to write clearly who will do 、 How to do and primary coverage
3、 Performance test cases
4、 Use case review
5、 Performance test execution Performance test environment
6、bug Submit and track
Performance analysis and tuning
- The tester only needs to determine whether there is performance bug, Yes bug Then submit a defect report
- Problem analysis and tuning are done by developers , Testers cooperate to verify the tuning results ( Multiple rounds of validation may be required )
7、 Performance test report
边栏推荐
猜你喜欢

数博会精彩回顾 | 彰显科研实力,中创算力荣获数字化影响力企业奖

Blocking protocol for concurrency control

"Chris Richardson microservices series" uses API gateway to build microservices

Summary of concurrency control

极狐公司官方澄清声明

Server optimization of performance tuning methodology

Two stage locking protocol for concurrency control

科技云报道荣膺全球云计算大会“云鼎奖”2013-2022十周年特别贡献奖

2022-07-05:给定一个数组,想随时查询任何范围上的最大值。 如果只是根据初始数组建立、并且以后没有修改, 那么RMQ方法比线段树方法好实现,时间复杂度O(N*logN),额外空间复杂度O(N*

MySQL disconnection reports an error MySQL ldb_ exceptions. OperationalError 4031, The client was disconnected by the server
随机推荐
How to develop and introduce applet plug-ins
Shell script, awk condition judgment and logic comparison &||
datagrid直接编辑保存“设计缺陷”
EL与JSTL注意事项汇总
Database tuning solution
Dbeaver executes multiple insert into error processing at the same time
Poj 3237 Tree (Tree Chain Split)
Poj3414广泛搜索
Storage optimization of performance tuning methodology
华为快游戏调用登录接口失败,返回错误码 -1
微服务链路风险分析
Common interview questions of JVM manufacturers
Index optimization of performance tuning methodology
Efficiency difference between row first and column first traversal of mat data types in opencv
让开发效率提升的跨端方案
Implementation technology of recovery
每日刷题记录 (十四)
poj 3237 Tree(树链拆分)
Oracle checkpoint queue - Analysis of the principle of instance crash recovery
MMAP学习