我的地盘我做主! 博客:http://tester2test.cnblogs.com/   msn:win_soft@163.com

LoadRunner Interview Questions

上一篇 / 下一篇  2007-07-12 12:18:22 / 个人分类:性能测试

k yFq+D z NAC0        摘自:网络51Testing软件测试网;|2O#B2j V x

_/|BX5T(d01. What is load testing?

0hhf;sxgW0 51Testing软件测试网9nk"e9NL@;F-mS-\

Ans. Load testing is to test that if the application works fine with the loads that result from large number of simultaneous users, transactions and to determine weather it can handle peak usage periods.51Testing软件测试网f8l Oc}9v s?-E*?
51Testing软件测试网(`2}~J!q7h$u*c

)l)a:[*x:q@TRQ02. What is Performance testing? 51Testing软件测试网Yq['t/Y5guq'S#r4t'B

51Testing软件测试网9p T n:]-w

Ans. Timing for both read and update transactions should be gathered to determine whether system functions are being performed in an acceptable timeframe. This should be done standalone and then in a multi user environment to determine the effect of multiple transactions on the timing of a single transaction.
CZ `S p9E"L']8}/i0

`A X1|"u1k!IL0

u7}F-PZL03. Explain the Load testing process?

~I`V.F s V0

D\ s#O.GYb*L0Ans. Following are the steps involved in the Load testing process:

&qn'w*FW~0
51Testing软件测试网$AJ)p;C)_'OZ

Step 1: Planning the test - Here, we develop a clearly defined test plan to ensure the test scenarios we develop will accomplish load-testing objectives.

k.|A6`%y z)FMze)MS0

]j&k(q.aV7r0Step 2: Creating Vusers - Here, we create Vuser scripts that contain tasks performed by each Vuser, tasks performed by Vusers as a whole, and tasks measured as transactions. 51Testing软件测试网~,B ^;pl7l9JN@

S8V3L\Q.[XD0Step 3: Creating the scenario - scenario describes the events that occur during a testing session. It includes a list of machines, scripts, and Vusers that run during the scenario. We create scenarios using LoadRunner Controller. We can create manual scenarios as well as goal-oriented scenarios. In manual scenarios, we define the number of Vusers, the load generator machines, and percentage of Vusers to be assigned to each script. For web tests, we may create a goal-oriented scenario where we define the goal that our test has to achieve. LoadRunner automatically builds a scenario for us. 51Testing软件测试网-Y h'f-r4a&SE

51Testing软件测试网;UMR[#H] R

Step 4: Running the scenario - We emulate load on the server by instructing multiple Vusers to perform tasks simultaneously. Before the testing, we set the scenario configuration and scheduling. We can run the entire scenario, Vuser groups, or individual Vusers.

6B1L;Km9Q `$]0

4p\;}:~V-I0Y,h'a+U"w0Step 5: Monitoring the scenario - We monitor scenario execution using the LoadRunner online runtime, transaction, system resource, Web resource, Web server resource, Web application server resource, database server resource, network delay, streaming media resource, firewall server resource, ERP server resource, and Java performance monitors.

.w.|Hi L0

[W;Ncql]#N0Step 6: Analyzing test results - During scenario execution, LoadRunner records the performance of the application under different loads. We use LoadRunner’s graphs and reports to analyze the application’s performance.
O.I2V%R:lM4h0

;]t k7y [0

*N'u:i$WLn p04. When do you do load and performance Testing? 51Testing软件测试网f3H8~@'I d"B

p"S5lE-N2g7Z9rS0Ans. We perform load testing once we are done with interface (GUI) testing. Modern system architectures are large and complex. Whereas single user testing primarily on functionality and user interface of a system component, application testing focuses on performance and reliability of an entire system. For example, a typical application-testing scenario might depict 1000 users logging in simultaneously to a system. This gives rise to issues such as what is the response time of the system, does it crash, will it go with different software applications and platforms, can it hold so many hundreds and thousands of users, etc. This is when we set do load and performance testing.
ZU$_tz]N\&u'P0

O z0}.LwC Me0 51Testing软件测试网)N0t L H AJ

5. What are the components of LoadRunner?

,`8C;I^2M7g^ S&@:Cc0 51Testing软件测试网g*`6TW5F'q&] ex2k

Ans. The components of LoadRunner are The Virtual User Generator, Controller, and the Agent process, LoadRunner Analysis and Monitoring, LoadRunner Books Online.51Testing软件测试网-c9j*Pf'_uA

51Testing软件测试网8\;GY-YVvu$r

j+N-f;{$b K7d:{ J1F0
测试者家园 2007-03-17 22:47 发表评论

:r#B0e+`2u"PEl0
5Y|Di C Px!DL0Link URL: http://www.cnblogs.com/tester2test/archive/2007/03/17/678553.html

TAG:

 

评分:0

我来说两句

Open Toolbar