当前位置:网站首页>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
边栏推荐
- UCORE lab7 synchronous mutual exclusion experiment report
- {1,2,3,2,5} duplicate checking problem
- 软件测试面试要问的性能测试术语你知道吗?
- Stc-b learning board buzzer plays music
- Global and Chinese market of portable and handheld TVs 2022-2028: Research Report on technology, participants, trends, market size and share
- My first blog
- STC-B学习板蜂鸣器播放音乐2.0
- Collection集合与Map集合
- [HCIA continuous update] working principle of static route and default route
- What is the transaction of MySQL? What is dirty reading and what is unreal reading? Not repeatable?
猜你喜欢
Leetcode simple question: check whether the numbers in the sentence are increasing
Want to learn how to get started and learn software testing? I'll give you a good chat today
Portapack application development tutorial (XVII) nRF24L01 launch B
软件测试工作太忙没时间学习怎么办?
MySQL development - advanced query - take a good look at how it suits you
ucore lab7 同步互斥 实验报告
[HCIA continuous update] advanced features of routing
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
Réponses aux devoirs du csapp 7 8 9
软件测试有哪些常用的SQL语句?
随机推荐
pytest
[oiclass] maximum formula
Practical cases, hand-in-hand teaching you to build e-commerce user portraits | with code
ByteDance ten years of experience, old bird, took more than half a year to sort out the software test interview questions
Which version of MySQL does php7 work best with?
Common Oracle commands
{1,2,3,2,5} duplicate checking problem
Leetcode simple question: check whether the numbers in the sentence are increasing
[pytorch] simple use of interpolate
Maximum nesting depth of parentheses in leetcode simple questions
How to solve the poor sound quality of Vos?
With 27K successful entry ByteDance, this "software testing interview notes" has benefited me for life
My first blog
Don't you even look at such a detailed and comprehensive written software test question?
Mysql database (III) advanced data query statement
软件测试有哪些常用的SQL语句?
Flash implements forced login
Vysor uses WiFi wireless connection for screen projection_ Operate the mobile phone on the computer_ Wireless debugging -- uniapp native development 008
软件测试Bug报告怎么写?
Eigen User Guide (Introduction)