45个LoadRunner英文面试笔试问题(2)_第1页
45个LoadRunner英文面试笔试问题(2)_第2页
45个LoadRunner英文面试笔试问题(2)_第3页
45个LoadRunner英文面试笔试问题(2)_第4页
45个LoadRunner英文面试笔试问题(2)_第5页
已阅读5页,还剩13页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、45个LoadRunner英文面试笔试问题(附答案)(2)&n bsp;We set Iterati ons in the Run Time Sett ings of the VuGe n.The n avigati on for this is Run time sett in gs, Pacing tab, s( nu mber of iterati ons.22、How do you perform functional testing under load?runningof-Functionalityunder load can be testedbyseveral Vusers c

2、oncurrently.By increasing the amountVusers, we can determinehow muchload the server cansusta in.23、What is Ramp up? How do you set this?-This opti on is used to gradual 15 in crease the amount ofVusers/load on the server. An in itial value is set an d a value to wait betwee n in tervals can bespecif

3、ied. To set Ramp Up, go to Seenario Scheduling Opti ons24、What is the advantage of running the Vuser as thread?-VuGe n provides the facility to use multithread ing. Thisen ables more Vusers to be run per gen erator. If the Vuser isrun as a process, the same driver program is loaded intomemory for ea

4、ch Vuser, thus taking up a large amount of memory. This limits the nu mber of Vusers that can be run on a single generator. If the Vuser is run as a thread, only one in sta nee of the driver program is loaded into memory for the given number ofVusers (say 100). Each thread shares the memory of the p

5、are nt driver program, thus en abli ngmoreVusers to be run per gen erator.25 If you want to stop the execution of your script on error, how do you do that?-The lr_abort function aborts the execution of a Vuser script. Itinstruets the Vuser to stop executing the Actions secti on, execute the vuser_e

6、nd secti on an d end the executi on.This function is useful when you need to manual15 abort a script executi on as a result of a specific error con diti on. Whe n you end a script using this fun cti on, the Vuser is assig ned the status Stopped For this to take effect, we have to first un check the

7、Con ti nue on error opti on in RunTime Sett in gs.26、 What is the relation between Response Time an dThroughput?-The Throughput graph shows the amount of data in bytes that the Vusersreceived from the server in a second. Whe n we compare this with the tra nsacti on resp onse time, we will notice tha

8、t as throughput decreased, the response time also decreased. Similarly, the peak throughput an d highest resp onse time would occur approximately at the same time.27、 Explain the Configuration of your systems?-The con figuratio n of our systems refers to that of thedie nt mach ines on which we run t

9、he Vusers. The con figurati on of any die nt mach ine in eludes its hardware sett in gs, memory, opera ting sys tem, software applications,developmenttools,etc. This system comp onent con figurati on should match withthe overall system con figurati onthat wouldin elude then etwork in frastrueture, t

10、he web server, the database server, an d any other comp onents that go with this larger system so as to achieve the load testi ng ob jec ti ves.28 How do you ide ntify the performs nee bottle necks?-Performa neeBottie necks can be detected by usingmon itors.These mon itors might be applicati onserve

11、rmon itors, web server mon itors, database server mon itors an d n etwork mon itors. They help in finding out the troubled area in our see nario which causes in creased resp onse time. The measureme nts made are usually performa nee resp onse time, throughput, hits/sec, n etwork delay graphs, etc.29

12、 If web server, database an d Network are all fine where could be the problem?-The problem could be in the system itself or in the applicati on server or in the code writte n for the applicatio n.30、How did you find web server related issues?Us ingWebresourcemon itorswe canfindtheperformaneeof webse

13、rvers.Using these monitorswecanan alyzethroughputon the webserver,nu mber ofhitspersecondthatoccurredduri ngsee nario,the numberofhttpresp on ses per sec ond, the nu mber of dow nl oaded pages per second.31、How did you find database related issues?-By running Database monitor an d help of DataResour

14、ce Graph we can find database related issues. E. g. Youcan specify the resource you want to measure on before running the con troller an d tha n you can see database relatedissues32、Explain all the web recording options?33、What is the difference between Overlay graph an d Correiate graph?-Overlay Gr

15、aph: It overlay the content of two graphs thatshares a com mon xaxis. Left Y-axis on the merged graph show s the curre nt graph s value Right Yaxis show the value ofY -axis of the graph that was merged. Correiate Graph: Plot theY-axis of two graphs against each other. The active graph s Y-axis becom

16、es X axis of merged graph. Y-axis ofthe graphthat was merged becomes merged graph s Y-axis.34 How did you plan the Load? What are the Criteria?-Load test is planned to decide the number of users, what kind of machines we aregoing to use an d from where they are run.It is based on 2importantdocuments

17、, TaskDistributio nDiagram an dTran sacti onprofile. TaskDistributio n Diagram gives us the in formatio n on nu mber of users for a particular tran sacti on an d the time of the load. The peak usage an d off-usage are decided from this Diagram. Transaction profile gives us the tran sacti ons n ame a

18、n d their priority levels with regard to the see nario we are decidi rmationabout theWhat does vuser_init action contain?-Vuser_initaction contains procedures to login to aserver.36 What does vuser_end action contain? 一 Vuser_endsecti on contains log off procedures.37What is think time? How d

19、o you change the threshold?-Think time is the time that a real user waits between acti ons.Example: Whe n a user receives data from a server, the user may wait several seconds to review the data before resp onding. This delay is known as the thi nk time. Changing the Threshold: Threshold level is th

20、e level below which the recorded thi nk time will be igno red. The default value is five (5) sec on ds. We can cha nge the thi nk time threshold in the Record ing opti ons of the Vuge n.38、Wha t is the difference bet ween stan dard log an d exte nded log?-The stan dard log sends a subset of function

21、s an d messages sent during script execution to a log. The subset depends on the Vuser type Extended log sends a detailedscript execution messages to the output log. This is mainly used during debuggingwhen we want informstionabout:Parameter substituti on. Data returned by the server. Adva need trac

22、e.39、Explain the following functions:-lr_debug_message 一 The lr_debug_message functionsends a debug message tothe output log whe n the specifiedmessageclassis set.lr_output_messageThelr_output_messagefun cti onsendsno tificati onstotheCon trollerOutputwi ndowan d the Vuserlogfilelr_error_message 一Th

23、e lr_error_message functionsendsanerror message to the LoadR unner Output win dow. lrd_stmt -The lrd_stmt function associates a character string (usually aSQL statement) with a cursor. This function sets a SQL stateme nt to beprocessed.lrd_fetch - The lrd_fetch fun cti on fetches the n extrow from t

24、heresuIt set.40、Throughput-If the throughput scales upward as time progresses an d the nu mber ofVusers in crease, this in dicates that the dwidth is sufficie nt If the 命门 graph were to rema in relatively flat as the nu mber of Vusers increased, it would be reas on able to conclude that the ban dwid

25、th is constraining the volume data delivered.小41、Types of Goals in GoalOrie nted Seen ario 一 Load Runner provides you with five differe nt types of goals in a goal orie nted see nario:The nu mber of con curre nt VusersThe nu mber of hits per sec ondThe nu mber of tran sacti ons per sec ondThe nu mbe

26、r of pages per minuteThe transaction response time that you want your see nario42、Analysis Seenario (Bottienecks):In Running Vuser graph correlated with the response time graph you can see that as the nu mber of Vusers in creases, the average response time of the check itinerary transactionvery grad

27、ually in creases. In other words, the average resp onse time steadily in creases as the load in creases. At 56 Vusers, there is a sudde n, sharp in crease in the average resp onsetime. We say that the test broke the server. That is the mean time before failure (MTBF). The response time clearly began

28、 to degrade when there were more than 56 Vusers running simulta neously.43、What is correlation? Explain the difference between automaticcorrelati on an d manual correlati on?-Correiati on is used to obta in data which are unique foreach run of the script an d which are gen erated by n ested queries. Correiati on provides the value to avoid errors aris ing out of duplicate values an d also optimiz ing the code (to avoid n ested queries). Automatic correlati on is where we set some rules for correlati on . It can be applicati on server specific. Here values

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论