当前位置:网站首页>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
边栏推荐
- Oracle checkpoint queue - Analysis of the principle of instance crash recovery
- Reptile practice
- Huawei fast game failed to call the login interface, and returned error code -1
- boundary IoU 的计算方式
- C language knowledge points link
- A number of ventilator giants' products have been recalled recently, and the ventilator market is still in incremental competition
- 笔记本电脑蓝牙怎么用来连接耳机
- CA certificate trampled pit
- Blocking protocol for concurrency control
- Win11缺少dll文件怎么办?Win11系统找不到dll文件修复方法
猜你喜欢
每日刷题记录 (十四)
How to view Apache log4j 2 remote code execution vulnerability?
Blocking protocol for concurrency control
Lightweight dynamic monitorable thread pool based on configuration center - dynamictp
AD637使用筆記
Huawei game multimedia service calls the method of shielding the voice of the specified player, and the error code 3010 is returned
Deeply convinced plan X - network protocol basic DNS
华为快游戏调用登录接口失败,返回错误码 -1
科技云报道荣膺全球云计算大会“云鼎奖”2013-2022十周年特别贡献奖
The Blue Bridge Cup web application development simulation competition is open for the first time! Contestants fast forward!
随机推荐
Win11运行cmd提示“请求的操作需要提升”的解决方法
poj 3237 Tree(樹鏈拆分)
Image editor for their AutoLayout environment
微服务入门(RestTemplate、Eureka、Nacos、Feign、Gateway)
Ad637 notes d'utilisation
Shell script, awk condition judgment and logic comparison &||
Oracle triggers
Implementing Lmax disruptor queue from scratch (IV) principle analysis of multithreaded producer multiproducersequencer
了解 Android Kotlin 中 DataStore 的基本概念以及为什么应该停止在 Android 中使用 SharedPreferences
Learning of mall permission module
ICMP introduction
DataGrid directly edits and saves "design defects"
Summary of El and JSTL precautions
Huawei cloud modelarts text classification - takeout comments
Serializability of concurrent scheduling
Blocking of concurrency control
Huawei fast game failed to call the login interface, and returned error code -1
Leetcode simple question: check whether each row and column contain all integers
K210学习笔记(四) K210同时运行多个模型
Implementing Lmax disruptor queue from scratch (IV) principle analysis of multithreaded producer multiproducersequencer