45 个LoadRunner英文面试笔试问题附答案2文档格式.docx

上传人:b****2 文档编号:4395327 上传时间:2023-05-03 格式:DOCX 页数:8 大小:17.40KB
下载 相关 举报
45 个LoadRunner英文面试笔试问题附答案2文档格式.docx_第1页
第1页 / 共8页
45 个LoadRunner英文面试笔试问题附答案2文档格式.docx_第2页
第2页 / 共8页
45 个LoadRunner英文面试笔试问题附答案2文档格式.docx_第3页
第3页 / 共8页
45 个LoadRunner英文面试笔试问题附答案2文档格式.docx_第4页
第4页 / 共8页
45 个LoadRunner英文面试笔试问题附答案2文档格式.docx_第5页
第5页 / 共8页
45 个LoadRunner英文面试笔试问题附答案2文档格式.docx_第6页
第6页 / 共8页
45 个LoadRunner英文面试笔试问题附答案2文档格式.docx_第7页
第7页 / 共8页
45 个LoadRunner英文面试笔试问题附答案2文档格式.docx_第8页
第8页 / 共8页
亲,该文档总共8页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

45 个LoadRunner英文面试笔试问题附答案2文档格式.docx

《45 个LoadRunner英文面试笔试问题附答案2文档格式.docx》由会员分享,可在线阅读,更多相关《45 个LoadRunner英文面试笔试问题附答案2文档格式.docx(8页珍藏版)》请在冰点文库上搜索。

45 个LoadRunner英文面试笔试问题附答案2文档格式.docx

22、Howdoyouperformfunctionaltestingunderload?

-FunctionalityunderloadcanbetestedbyrunningseveralVusersconcurrently.ByincreasingtheamountofVusers,wecandeterminehowmuchloadtheservercansustain.

23、WhatisRampup?

Howdoyousetthis?

-ThisoptionisusedtograduallyincreasetheamountofVusers/loadontheserver.Aninitialvalueissetandavaluetowaitbetweenintervalscanbe

specified.TosetRampUp,gotoScenarioSchedulingOptions

24、WhatistheadvantageofrunningtheVuserasthread?

-VuGenprovidesthefacilitytousemultithreading.ThisenablesmoreVuserstoberunpergenerator.IftheVuserisrunasaprocess,thesamedriverprogramisloadedintomemoryforeachVuser,thustakingupalargeamountofmemory.ThislimitsthenumberofVusersthatcanberunonasinglegenerator.IftheVuserisrunasathread,onlyoneinstanceofthedriverprogramisloadedintomemoryforthegivennumberofVusers(say100).Eachthreadsharesthememoryoftheparentdriverprogram,thusenablingmoreVuserstoberunpergenerator.

25、Ifyouwanttostoptheexecutionofyourscriptonerror,howdoyoudothat?

-Thelr_abortfunctionabortstheexecutionofaVuserscript.ItinstructstheVusertostopexecutingtheActionssection,executethevuser_endsectionandendtheexecution.Thisfunctionisusefulwhenyouneedtomanuallyabortascriptexecutionasaresultofaspecificerrorcondition.Whenyouendascriptusingthisfunction,theVuserisassignedthestatusStopped.Forthistotakeeffect,wehavetofirstunchecktheContinueonerroroptioninRun-TimeSettings.

26、WhatistherelationbetweenResponseTimeandThroughput?

-TheThroughputgraphshowstheamountofdatainbytesthattheVusersreceivedfromtheserverinasecond.Whenwecomparethiswiththetransactionresponsetime,wewillnoticethatasthroughputdecreased,theresponsetimealsodecreased.Similarly,thepeakthroughputandhighestresponsetimewouldoccurapproximatelyatthesametime.

27、ExplaintheConfigurationofyoursystems?

-TheconfigurationofoursystemsreferstothatoftheclientmachinesonwhichweruntheVusers.Theconfigurationofanyclientmachineincludesitshardwaresettings,memory,operatingsystem,softwareapplications,developmenttools,etc.Thissystemcomponentconfigurationshouldmatchwiththeoverallsystemconfigurationthatwouldincludethenetworkinfrastructure,thewebserver,thedatabaseserver,andanyothercomponentsthatgowiththislargersystemsoastoachievetheloadtestingobjectives.

28、Howdoyouidentifytheperformancebottlenecks?

-PerformanceBottleneckscanbedetectedbyusingmonitors.Thesemonitorsmightbeapplicationservermonitors,webservermonitors,databaseservermonitorsandnetworkmonitors.Theyhelpinfindingoutthetroubledareainourscenariowhichcausesincreasedresponsetime.Themeasurementsmadeareusuallyperformanceresponsetime,throughput,hits/sec,networkdelaygraphs,etc.

29、Ifwebserver,databaseandNetworkareallfinewherecouldbetheproblem?

-Theproblemcouldbeinthesystemitselforintheapplicationserverorinthecodewrittenfortheapplication.

30、Howdidyoufindwebserverrelatedissues?

-UsingWebresourcemonitorswecanfindtheperformanceofwebservers.Usingthesemonitorswecananalyzethroughputonthewebserver,numberofhitspersecondthatoccurredduringscenario,thenumberofhttpresponsespersecond,thenumberofdownloadedpagespersecond.

31、Howdidyoufinddatabaserelatedissues?

-ByrunningDatabasemonitorandhelpofDataResourceGraphwecanfinddatabaserelatedissues.E.g.Youcanspecifytheresourceyouwanttomeasureonbeforerunningthecontrollerandthanyoucanseedatabaserelatedissues

32、Explainallthewebrecordingoptions?

33、WhatisthedifferencebetweenOverlaygraphandCorrelategraph?

-OverlayGraph:

Itoverlaythecontentoftwographsthatsharesacommonx-axis.LeftY-axisonthemergedgraphshowsthecurrentgraphsvalueRightY-axisshowthevalueofY-axisofthegraphthatwasmerged.CorrelateGraph:

PlottheY-axisoftwographsagainsteachother.TheactivegraphsY-axisbecomesX-axisofmergedgraph.Y-axisofthegraphthatwasmergedbecomesmergedgraphsY-axis.

34、HowdidyouplantheLoad?

WhataretheCriteria?

-Loadtestisplannedtodecidethenumberofusers,whatkindofmachineswearegoingtouseandfromwheretheyarerun.Itisbasedon2importantdocuments,TaskDistributionDiagramandTransactionprofile.TaskDistributionDiagramgivesustheinformationonnumberofusersforaparticulartransactionandthetimeoftheload.Thepeakusageandoff-usagearedecidedfromthisDiagram.Transactionprofilegivesustheinformationaboutthetransactionsnameandtheirprioritylevelswithregardtothescenariowearedeciding.

35、Whatdoesvuser_initactioncontain?

-Vuser_initactioncontainsprocedurestologintoaserver.

36、Whatdoesvuser_endactioncontain?

-Vuser_endsectioncontainslogoffprocedures.

37、Whatisthinktime?

Howdoyouchangethethreshold?

-Thinktimeisthetimethatarealuserwaitsbetweenactions.Example:

Whenauserreceivesdatafromaserver,theusermaywaitseveralsecondstoreviewthedatabeforeresponding.Thisdelayisknownasthethinktime.ChangingtheThreshold:

Thresholdlevelisthelevelbelowwhichtherecordedthinktimewillbeignored.Thedefaultvalueisfive(5)seconds.WecanchangethethinktimethresholdintheRecordingoptionsoftheVugen.

38、Whatisthedifferencebetweenstandardlogandextendedlog?

-Thestandardlogsendsasubsetoffunctionsandmessagessentduringscriptexecutiontoalog.ThesubsetdependsontheVusertypeExtendedlogsendsadetailedscriptexecutionmessagestotheoutputlog.Thisismainlyusedduringdebuggingwhenwewantinformationabout:

Parametersubstitution.Datareturnedbytheserver.Advancedtrace.

39、Explainthefollowingfunctions:

-lr_debug_message-Thelr_debug_messagefunctionsendsadebugmessagetotheoutputlogwhenthespecifiedmessageclassisset.lr_output_message-Thelr_output_messagefunctionsendsnotificationstotheControllerOutputwindowandtheVuserlogfile.lr_error_message-Thelr_error_messagefunctionsendsanerrormessagetotheLoadRunnerOutputwindow.lrd_stmt-Thelrd_stmtfunctionassociatesacharacterstring(usuallyaSQLstatement)withacursor.ThisfunctionsetsaSQLstatementtobeprocessed.lrd_fetch-Thelrd_fetchfunctionfetchesthenextrowfromtheresultset.

40、Throughput

-IfthethroughputscalesupwardastimeprogressesandthenumberofVusersincrease,thisindicatesthatthebandwidthissufficient.IfthegraphweretoremainrelativelyflatasthenumberofVusersincreased,itwouldbereasonabletoconcludethatthebandwidthisconstrainingthevolumeofdatadelivered.

41、TypesofGoalsinGoal-

OrientedScenario-LoadRunnerprovidesyouwithfivedifferenttypesofgoalsinagoalorientedscenario:

ThenumberofconcurrentVusers

Thenumberofhitspersecond

Thenumberoftransactionspersecond

Thenumberofpagesperminute

Thetransactionresponsetimethatyouwantyourscenario

42、AnalysisScenario(Bottlenecks):

InRunningVusergraphcorrelatedwiththeresponsetimegraphyoucanseethatasthenumberofVusersincreases,theaverageresponsetimeofthecheckitinerarytransactionverygraduallyincreases.Inotherwords,theaverageresponsetimesteadilyincreasesastheloadincreases.At56Vusers,thereisasudden,sharpincreaseintheaverageresponse

time.Wesaythatthetestbroketheserver.Thatisthemeantimebeforefailure(MTBF).Theresponsetimeclearlybegantodegradewhenthereweremorethan56Vusersrunningsimultaneously.

43、Whatiscorrelation?

Explainthedifferencebetweenautomaticcorrelationandmanualcorrelation?

-

Correlationisusedtoobtaindatawhichareuniqueforeachrunofthescriptandwhicharegeneratedbynestedqueries.Correlationprovidesthevaluetoavoiderrorsarisingoutofduplicatevaluesandalsooptimizingthecode(toavoidnestedqueries).Automaticcorrelationiswherewesetsomerulesforcorrelation.Itcanbeapplicationserverspecific.Herevaluesarereplacedbydatawhicharecreatedbytheserules.Inmanualcorrelation,thevaluewewanttocorrelateisscannedandcreatecorrelationisusedtocorrelate.

44、Wheredoyousetautomaticcorrelationoptions?

-Automaticcorrelationfromwebpointofview,canbesetinrecordingoptionsandcorrelationtab.Herewecanenablecorrelationfortheentirescriptandchooseeitherissueonlinemessagesorofflineactions,wherewecandefinerulesforthatcorrelation.Automaticcorrelationfordatabase,canbedoneusingshowoutputwindowandscanforcorrelationandpickingthecorrelatequerytabandchoosewhichqueryvaluewewanttocorrelate.Ifweknowthespecificvaluetobecorrelated,wejustdocreatecorrelationforthevalueandspecifyhowthevaluetobecreated.

45、Whatisafunctiontocapturedynamicvaluesinthewebvuserscript?

-Web_reg_save_paramfunctionsavesdynamicdatainformationtoaparameter.

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 医药卫生 > 基础医学

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2