45個LoadRunner英文面試筆試問題(2)_第1頁
45個LoadRunner英文面試筆試問題(2)_第2頁
45個LoadRunner英文面試筆試問題(2)_第3頁
45個LoadRunner英文面試筆試問題(2)_第4頁
45個LoadRunner英文面試筆試問題(2)_第5頁
已閱讀5頁,還剩13頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)

文檔簡介

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. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論