当前位置:网站首页>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
边栏推荐
- MMAP learning
- Common interview questions of redis factory
- AD637使用筆記
- 1.3 years of work experience, double non naked resignation agency face-to-face experience [already employed]
- Dbeaver executes multiple insert into error processing at the same time
- Implementation technology of recovery
- 华为联机对战如何提升玩家匹配成功几率
- Summarize the reasons for 2XX, 3xx, 4xx, 5xx status codes
- Efficiency difference between row first and column first traversal of mat data types in opencv
- Win11运行cmd提示“请求的操作需要提升”的解决方法
猜你喜欢
A number of ventilator giants' products have been recalled recently, and the ventilator market is still in incremental competition
每日刷题记录 (十四)
Performance monitoring of database tuning solutions
The simple problem of leetcode is to split a string into several groups of length K
database mirroring
Summarize the reasons for 2XX, 3xx, 4xx, 5xx status codes
Bitbucket installation configuration
Huawei fast game failed to call the login interface, and returned error code -1
Deeply convinced plan X - network protocol basic DNS
K210学习笔记(四) K210同时运行多个模型
随机推荐
Cross end solutions to improve development efficiency
Lightweight dynamic monitorable thread pool based on configuration center - dynamictp
A long's perception
Codeforces 12D ball tree array simulation 3 sorting elements
An exception occurred in Huawei game multimedia calling the room switching method internal system error Reason:90000017
POJ 3237 tree (tree chain splitting)
database mirroring
Web3为互联网带来了哪些改变?
如何向mongoDB中添加新的字段附代码(全)
The American Championship is about to start. Are you ready?
matlab绘制hsv色轮图
让开发效率提升的跨端方案
Oracle triggers
数博会精彩回顾 | 彰显科研实力,中创算力荣获数字化影响力企业奖
boundary IoU 的计算方式
Did you brush the real title of the blue bridge cup over the years? Come here and teach you to counter attack!
Installation of VMware Workstation
1.3 years of work experience, double non naked resignation agency face-to-face experience [already employed]
每日刷题记录 (十四)
Win11运行cmd提示“请求的操作需要提升”的解决方法