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

LoadRunner Interview Questions

上一篇 / 下一篇  2007-06-27 17:42:50 / 个人分类:其他

51Testing软件测试网/ZR4]!b!U:QtN[8O

        摘自:网络51Testing软件测试网 l v9]g-p)lm
51Testing软件测试网^'CN:N/^IUi
1. What is load testing?
51Testing软件测试网k4R$d!v"oPp5J9T Rd

9YvH5pi*Y0Ans. 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.
$OA7R1{Mf}*Ei+J0

oH8L}d)S| _0

5Vfsc!?/N7r02. What is Performance testing?

8z ?8Bx%RM-\C9U:A0 51Testing软件测试网:C6f2g1h"M D9O*L?

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.51Testing软件测试网 Q$P0ZF,|I l N;p

N!hh*@S0 51Testing软件测试网yaf(M?p

3. Explain the Load testing process?

QFlM-X7^}v+V0 51Testing软件测试网]9m7{0Q.l$x

Ans. Following are the steps involved in the Load testing process:

}FD!g_!at`p&{0

H.[7[z+?[0Step 1: Planning the test - Here, we develop a clearly defined test plan to ensure the test scenarios we develop will accomplish load-testing objectives. 51Testing软件测试网IN\_4X/s

,y ?,ch4c qu_0Step 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软件测试网5W#?c(R U"u2kE&@&as

51Testing软件测试网['V5d&k1X:BH3\YCa

Step 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.

'V*^/Dx(D E(LR0

.Z5|5_?{|bKr0Step 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. 51Testing软件测试网$~3[%He1e u R

[7j5A v/u9f+N S0Step 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.51Testing软件测试网'f U8Zcs)\#I#H]J

51Testing软件测试网-GF8Y-nr ~#UY

Step 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.
^k5eX%YG x0

/@R%|6}Ga%p8ss _0

,AC#] o `9}}04. When do you do load and performance Testing? 51Testing软件测试网c^._:tf)G

AI9p"t{X)w5S3KB;j6e0Ans. 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.51Testing软件测试网%W3KG#P7R]

S!_-S m,bK }j0

)VaA,J\~05. What are the components of LoadRunner?51Testing软件测试网0h(j6u9x)Lz.H$j

+r{WQ*}l_@"{z.t0Ans. The components of LoadRunner are The Virtual User Generator, Controller, and the Agent process, LoadRunner Analysis and Monitoring, LoadRunner Books Online.51Testing软件测试网8hf6M+e7Fw%y^N+u


HRZ$q;w8@5G)Y0
%T5wS_w0
测试者家园 2007-03-17 22:47 发表评论

M4v A Y-`1\ L0
6s#d a kH_@)y0Link URL: http://www.cnblogs.com/tester2test/archive/2007/03/17/678553.html

TAG:

 

评分:0

我来说两句

Open Toolbar