当前位置:网站首页>Do you know the performance testing terms to be asked in the software testing interview?
Do you know the performance testing terms to be asked in the software testing interview?
2022-07-06 15:12:00 【Test Xiaowan】
Catalog
1、 What is load testing ? What is performance testing ?
2、 What tests are included in the performance test ( At least mention 3 Kind of )
5、 What is the relationship between response time and throughput ?
7、 What are parameters ? Why create parameters ?
9、 What is? think time?think_time What's the usage? ?
10、IP What does cheating mean ? When do you need to use IP cheating ?
11、 The three most important indicators that performance testing focuses on
1、 What is load testing ? What is performance testing ?
Performance testing is to get the system under certain conditions ( Including specific load conditions ) Performance index data of .
Load test is the system load that simulates the load condition of the actual software system , By constantly loading ( Such as gradually increasing the number of simulated users ) Or other loading methods to observe the response time and data throughput of the system under different loads 、 Resources occupied by the system ( Such as CPU、 Memory ) etc. , To test the behavior and characteristics of the system , In order to find the possible performance bottleneck of the system 、 Memory leak 、 Can't synchronize in real time . Load testing more embodies a method or a technology .
The stress test is under strong load ( Large amount of data 、 A large number of concurrent users, etc ) Next test , View the operating behavior of the application system in peak usage , So as to effectively find a function hidden trouble of the system 、 Whether the system has good fault tolerance and recoverability . The pressure test is divided into long time under high load ( Such as 24 hours ) The stability stress test and the destructive stress test leading to the collapse of the system under the extreme load condition .
2、 What tests are included in the performance test ( At least mention 3 Kind of )
Pressure test 、 The load test 、 Reliable test 、 Big data test ( Database capacity test ), The benchmark
3、 What is the assembly point ? What's the point of setting a set point ?Loadrunner Which is the set point function in ?
Marshal Point : Simply speaking , Assembly point is used to realize “ Multi user concurrent testing ”, Because real concurrency doesn't exist , In order to realize concurrency more realistically , So set up assembly points where pressure is needed .
Set the set point function :lr_rendezvous("Meeting");
4、 What is throughput ?
The number of client requests processed by the system in unit time .
Add :
Data received by the client from the server per second , Or the number of transactions that the system server can process per second . Generally, as the number of virtual users increases , Throughput also increases , It shows that the network bandwidth is sufficient , conversely , Spit out as the number of virtual users increases , The throughput is relatively stable , In a straight line state , It generally means that the network bandwidth has become a bottleneck , Limited data transmission .
5、 What is the relationship between response time and throughput ?
The throughput graph shows the number of bytes received by the virtual user from the server per second .
When the system throughput does not reach the system processing limit , The system performance will not decay , The average response time of transactions generally does not increase ;
When the system reaches the throughput limit , Client transactions are queued in the request queue , The waiting time is recorded in the response time , Therefore, the average response time of transactions will generally increase ( let me put it another way , The peak throughput and maximum response time occur almost at the same time ).
6、 What is the number of concurrent users ? What is the number of online users ? What is the number of system users ?
Concurrency is mainly for servers , The key to concurrency is to see if user operations have an impact on the server . therefore , The correct understanding of the number of concurrent users is : The number of online users who interact with the server at the same time , This interaction can be a one-way transmission of data , It can also be a two-way transmission of data .
Number of online users : Simple understanding , The online quantity of the system in a certain period ( Whether logged in or not , Or whether there is interaction with the system . Pay attention to eliminate the session Timed out users ).
Number of system users : Number of users registered in the system .
7、 What are parameters ? Why create parameters ?
During performance testing , In order to simulate the actual situation more closely ( That is, for some information, you need to submit different data each time , Or use multiple different values for circular input ), At this time, parameterization should be set , To submit application requests using multiple different values . Using parameterization can also reduce the size of the script .
8、 What is Association ? The difference between automatic association and manual Association ? How to find out where to relate ?
【 The definition of relevance 】 To put it simply : Association is a special kind of parameterization . It refers to some data returned by the client from the server ( such as sessionid), Turn into dynamic data , Then send it as part of the next request . Or save the result data of the previous statement , Then use this data when submitting the request in the following statement .
【 The difference between automatic association and manual Association 】: Auto correlation is during script recording ( Set the automatic association option in the recording options ),VuGen According to the established rules , Automatically find the value that needs to be associated or after the script recording , Execute the script once , adopt Correlation Studio Automatically find the data that needs to be associated , And build relationships ; The way of manual correlation is usually to record two scripts of the same business process first ( Input the same data ), You can use WinDiff And other text comparison tools , Find out the difference between the two scripts , That is to say, we need related data , Re pass web_reg_save_param Function to manually create an association , Parameterize the associated data used in the script . Because the data that needs to be correlated is relatively fixed (sessionid、sap-ext-sid、sap-wd-cltwndid、sap-wd-tstamp etc. ), For skilled workers, only one recording is required .
9、 What is? think time?think_time What's the usage? ?
Thinking time is when real users are action Waiting time between . In short, it is to simulate the situation that different users spend different time when operating the same function process . By thinking about time , It can make us closer to the real situation in load testing .
10、IP What does cheating mean ? When do you need to use IP cheating ?
Some products will harm visitors in order to avoid hacker attacks IP To judge , adopt IP Spoofing tools can bypass this limitation . For example, voting is right IP Uniqueness limits , Or gateway control .
11、 The three most important indicators that performance testing focuses on
TPS, Transaction response time , Throughput rate
边栏推荐
- Detailed introduction to dynamic programming (with examples)
- 自动化测试你必须要弄懂的问题,精品总结
- The latest query tracks the express logistics and analyzes the method of delivery timeliness
- Investment operation steps
- Cadence physical library lef file syntax learning [continuous update]
- Global and Chinese market of portable and handheld TVs 2022-2028: Research Report on technology, participants, trends, market size and share
- Réponses aux devoirs du csapp 7 8 9
- Don't you even look at such a detailed and comprehensive written software test question?
- Investment should be calm
- Expanded polystyrene (EPS) global and Chinese markets 2022-2028: technology, participants, trends, market size and share Research Report
猜你喜欢
Es full text index
The salary of testers is polarized. How to become an automated test with a monthly salary of 20K?
In Oracle, start with connect by prior recursive query is used to query multi-level subordinate employees.
The latest query tracks the express logistics and analyzes the method of delivery timeliness
The minimum sum of the last four digits of the split digit of leetcode simple problem
UCORE lab2 physical memory management experiment report
软件测试工作太忙没时间学习怎么办?
全网最详细的postman接口测试教程,一篇文章满足你
[Ogg III] daily operation and maintenance: clean up archive logs, register Ogg process services, and regularly back up databases
Description of Vos storage space, bandwidth occupation and PPS requirements
随机推荐
Servlet
Mysql database (III) advanced data query statement
Video scrolling subtitle addition, easy to make with this technique
Emqtt distribution cluster and node bridge construction
Example 071 simulates a vending machine, designs a program of the vending machine, runs the program, prompts the user, enters the options to be selected, and prompts the selected content after the use
Database monitoring SQL execution
Mysql database (I)
Common Oracle commands
Nest and merge new videos, and preset new video titles
Statistics 8th Edition Jia Junping Chapter 2 after class exercises and answer summary
What level do 18K test engineers want? Take a look at the interview experience of a 26 year old test engineer
The minimum sum of the last four digits of the split digit of leetcode simple problem
Mysql database (II) DML data operation statements and basic DQL statements
Build your own application based on Google's open source tensorflow object detection API video object recognition system (II)
Investment should be calm
150 common interview questions for software testing in large factories. Serious thinking is very valuable for your interview
How to transform functional testing into automated testing?
Fundamentals of digital circuits (III) encoder and decoder
Opencv recognition of face in image
Description of Vos storage space, bandwidth occupation and PPS requirements