当前位置:网站首页>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
边栏推荐
- Analysis and test of ModbusRTU communication protocol
- Overview of database recovery
- 科技云报道:算力网络,还需跨越几道坎?
- Hysbz 2243 staining (tree chain splitting)
- Decorator learning 01
- How to use tensorflow2 for cat and dog classification and recognition
- boundary IoU 的计算方式
- 华为游戏多媒体服务调用屏蔽指定玩家语音方法,返回错误码3010
- Lightweight dynamic monitorable thread pool based on configuration center - dynamictp
- 他们主动布局(autolayout)环境的图像编辑器
猜你喜欢
总结出现2xx、3xx、4xx、5xx状态码的原因
Analysis and test of ModbusRTU communication protocol
Business learning of mall order module
Database tuning solution
Interprocess communication in the "Chris Richardson microservice series" microservice architecture
QML reported an error expected token ";", expected a qualified name ID
资深电感厂家告诉你电感什么情况会有噪音电感噪音是比较常见的一种电感故障情况,如果使用的电感出现了噪音大家也不用着急,只需要准确查找分析出什么何原因,其实还是有具体的方法来解决的。作为一家拥有18年品牌
Summarize the reasons for 2XX, 3xx, 4xx, 5xx status codes
Granularity of blocking of concurrency control
【愚公系列】2022年7月 Go教学课程 004-Go代码注释
随机推荐
如何開發引入小程序插件
Getting started with microservices (resttemplate, Eureka, Nacos, feign, gateway)
数据泄露怎么办?'华生·K'7招消灭安全威胁
Database recovery strategy
Pl/sql basic syntax
元宇宙中的三大“派系”
Implementing Lmax disruptor queue from scratch (IV) principle analysis of multithreaded producer multiproducersequencer
PyGame practical project: write Snake games with 300 lines of code
资深电感厂家告诉你电感什么情况会有噪音电感噪音是比较常见的一种电感故障情况,如果使用的电感出现了噪音大家也不用着急,只需要准确查找分析出什么何原因,其实还是有具体的方法来解决的。作为一家拥有18年品牌
ICMP 介绍
Lightweight dynamic monitorable thread pool based on configuration center - dynamictp
Regular expressions and re Libraries
Drawing HSV color wheel with MATLAB
Oracle views the data size of a table
A number of ventilator giants' products have been recalled recently, and the ventilator market is still in incremental competition
Talking about MySQL index
Summary of concurrency control
Blocking of concurrency control
NET中小型企业项目开发框架系列(一个)
The solution to the problem that Oracle hugepages are not used, causing the server to be too laggy