Wednesday, December 24, 2008

Loadrunner certification sample questions

In this posting you can get more questions :)  
1.You are running a 100% load test. The exhibit shows a list of business processes, the desired number of business processes per hour, and the number of transactions per business process.
How many transactions should complete during the one hour full load test?
A.2,000
B.20,000
C.55,000
D.380,000 
Answer: C 
2.View the Business Process Profile table for the ecommerce site shown in the exhibit.
Which business processes are the most critical to record? (Select two.)
A.Sign in
B.Checkout
C.Contact Us
D.View sale items
E.View outlet items
 Answer: BD
 3. When running a debug run, what should you be looking for?
A.system performs as expected under load
B.no errors pertaining to running the load test
C.all server CPU and memory utilization below 50%
D.transaction response times that are higher than expected
 Answer: B
 4. While analyzing the Vuser log files from a scenario run, you see the following log file from one of the Vusers. Start auto log message stack Iteration
1.Starting action BookFlight.
BookFlight.c(5): Notify: Transaction WT_00_Home_Page started.BookFlight.c(7): Error 27796:
Failed to connect to server 127.0.0.1:1080 [10061]
End auto log message stack.
 What was the Runtime setting, Logging option set to?
A.Standard Logging
B.Extended Logging
C.Always send a message
D.Send a message only when an error occurs
 Answer: D
 5. What is the recommended transaction monitoring frequency for large scenarios?
A.3
B.10
C.15
D.30
 Answer: C
 6. What is the first stage of the load testing process?
A.Plan the Load Test
B.Create the Scenario
C.Execute the Scenario
D.Create VuGen Scripts
 Answer: A
 7. What instructs LoadRunner to prepare the Vusers so they are in the ready state?
A.reallife
B.initialize
C.duration
D.start Vusers
 Answer: B
 8. What are the main types of service level agreements available in the Controller and Analysis? (Select two.)
A.Per Time Interval
B.Errors per Second
C.Over the Whole Run
D.Average Hits per Run
E.Average Throughput per Run
F.Average Transaction Response Time
 Answer: AC
 9. What allows you to gather performance metrics for a variety of major backend system components including firewalls, application servers, and database servers?
A.monitors
B.scenarios
C.transactions
D.service level agreement
 Answer: A
10. What is the first indication of a performance problem?
A.The network delay time is above 15ms.
B.The DNS is not resolving the machine name.
C.The Web servers available memory drops below 1 GB.
D.The end user experiences higher than expected response times.
Answer: D
11. Which performance test finds the behavior and performance of each tier?
A.load test
B.volume test
C.scalability test
D.component test
Answer: D
12. Which performance test checks the stability of a system over an extended period of time?
A.load test
B.volume test
C.scalability test
D.component test
Answer: B
13. Which performance test is used to find the systems breaking point?
A.load test
B.volume test
C.scalability test
D.component test
Answer: C
14. Which performance test determines whether the system handles anticipated realworld
load?
A.load test
B.volume test
C.scalability test
D.component test
Answer: A
15. Which performance test objective is met when determining if the system is stable enough to go into production?
A.reliability
B.regression
C.acceptance
D.capacity planning
E.product evaluation
F.bottleneck identification
Answer: C
16. Which performance test objective is met when determining the cause of performance degradation?
A.reliability
B.regression
C.acceptance
D.capacity planning
E.product evaluation
F.bottleneck identification
Answer: F
17. Which performance test objective is met when determining if the new version of the software
adversely affects response time?
A.reliability
B.regression
C.acceptance
D.capacity planning
E.product evaluation
F.bottleneck identification
Answer: B
18. Which LoadRunner component runs the Vuser that generates the load?
A.VuGen
B.Analysis
C.Controller
D.load generator/host
Answer: D
19. What is an external data source?
A.user ID
B.password
C.email
address
D.purchase order number
Answer: D
20. You are a LoadRunner expert consultant and have been assigned to a client that needs to
performance test an application that has not yet been released.
How can you obtain information about the applications anticipated load?
A.estimate how the application will be used
B.obtain the necessary information from web logs
C.look in the applications database to determine the anticipated load
D.consult with the business experts to determine the anticipated load
Answer: D
21. What must have direct communication with VuGen?
A.Controller
B.load generator
C.database server
D.application under test (AUT)
Answer: D
22. Click the Exhibit button. The exhibit shows a table with the desired number of business processes.Which percentage would be allocated to each business process in order to execute that business process the desired number of times?
A.View Childrens Clothing Item 20%
View Mens Clothing Item 15%
View Womens Clothing Item 20%
View Household Item 30%
View Shoes 15%
B.View Childrens Clothing Item 2%
View Mens Clothing Item 1%
View Womens Clothing Item 2%
View Household Item 4%
View Shoes 1%
C.View Childrens Clothing Item 20%
View Mens Clothing Item 10%
View Womens Clothing Item 20%
View Household Item 40%
View Shoes 10%
D.View Childrens Clothing Item 0.2%
Answer: C
23. You are meeting a new LoadRunner customer. The application under test is a call center application used by the customer representatives. The representatives are located in Phoenix, AZ and Columbus,OH. A large customer base resides in Flagstaff, AZ and Cincinnati, OH. The servers are located in Washington, DC. Where would you place the load generator machines? (Select two.)
A.Phoenix, AZ
B.Flagstaff, AZ
C.Columbus, OH
D.Cincinnati, OH
E.Washington, DC
Answer: AC
24. What is the appropriate scenario outline if your quantitative goal is to attain 2,500 concurrent users for the Update transaction during peak time?
A.Load test should achieve 2,500 users only.
B.Script should define the Update transaction only.
C.Script should define the Update transaction, and the load test should achieve 2,500 users.
D.Script should define the Update transaction, and the load test should achieve 2,500 concurrent users.
Answer: D
25. What are advantages of using automated load tests over manual load tests? (Select three.)
A.repeatability
B.easier to scale
C.improved validity
D.increased hardware resources
E.simplicity of gathering analysis data
Answer: ABE
26. Which step comes after scenario execution in the load testing process?
A.Analyze Results
B.Rerun the Scenario
C.Record the Process
D.Fine Tune the System
Answer: A
27. Which scenario type helps you plan for future growth and provides a safety factor with the application?
A.Debug
B.Full Load
C.Top Time
D.Scalability
Answer: C
28. What provides data that is unknown before the application is run?
A.master data
B.external data
C.usergenerated data
D.servergenerated data
Answer: B
29. Which level of concurrency identifies how many users are currently buying tickets?
A.System
B.Application
C.Transaction
D.Business Process
Answer: C
30. Which LoadRunner tool captures the communication between the browser and web server?
A.VuGen
B.Analysis
C.Controller
D.load generator
Answer: A
 Related Topics;

Loadrunner important Topics

Overview

HP LoadRunner is a load testing product that determines application scalability, behavior, and performance. It emulates thousands of virtual users, and identifies and isolates performance bottlenecks acrossand within each tier.

  • Discuss the value of load testing
  • Plan for effective load testing
  • Establish load test goals
  • Run load test scenarios
  • Load and overload when executing scenarios
  • Analyze and interpret load test results

Introduction

  • Define VuGen
  • Identify the main components of the VuGen interface

Recording for the Web

  • Create a VuGen script by recording user steps with VuGen in the web environment
  • Describe the basics of HTML and URL recording levels

Replay

  • Identify and configure the appropriate web runtime setting for replay
  • Replay the script in VuGen to verify script functionality
  • Recognize the debugging tools available in VuGen

Transactions

  • Explain the function of a transaction in a script
  • Insert a transaction in a script during and after recording

Parameters

  • Explain what parameters are and how they work
  • Solve playback problems with parameterization
  • Parameterize a script for load testing

Auto Correlation After Recording

  • Define Correlation
  • Correlate dynamic values found by using the Auto Correlation tool

Verification

  • Recognize why and when to use verification
  • Identify visual cues to check for during load testing
  • Add Text Checkpoints during and after recording

Actions

  • Create multiple Actions for a web script
  • Configure Actions to achieve load testing goals

Introduction to Script View

  • Identify when Script view is necessary
  • Send customized output messages to the Replay Log
  • Identify basic C code including statements, variables, and functions
  • Apply basic debugging techniques in VuGen

Advanced Scripting Techniques

  • Recognize general LoadRunner functions
  • Recognize protocol specific functions

Manual Correlation

  • Determine when manual correlation is required
  • Correlate dynamic values using the create parameter option

Auto Correlation During Recording

  • Create correlation rules to auto correlate during recording
  • Import and export correlation rules

Introduction to Scenarios

  • Explain elements that make a LoadRunner scenario
  • Identify different types of scenarios
  • How to choose the scenario
  • Present the basic steps for creating a scenario

Scenario Execution

  • Prepare for a scenario run
  • Identify techniques to efficiently run a scenario

Scheduling Scenarios

  • Scheduling by group and by scenario
  • Prepare VuGen User (Vuser) initialization
  • Configure duration scheduling
  • Configure scenario ramp up and ramp down

Performance Monitors

  • Value of Performance Monitors
  • Select Performance Monitors
  • Add measurements to Performance Monitors

Results Analysis

  • Value of root cause analysis
  • Diagnose errors with LoadRunner
Meaningful interpretation of LoadRunner graphs

For more information and for sample questions visit following related posts :) Above topics are also useful for loadrunner certification.

Plz post your valuable comments and share information on performance related topics to testingblog4u@gmail.com    :)

Tuesday, December 16, 2008

What do we want to know(skills) for having good knowldge on Loadrunner

For having the knowledge on Load RunnerSpecifically, we need to know the following knowledge and skills:


Components such as web servers, application servers, database servers, operating systems, networks and network elements such as load balancers.


You need not have "guru" level knowledge of each of the components but should have operational knowledge and an understanding of the performance issues associated with the components.


For example, a load tester should know what multi-way joins, indexes and spin counts are and what affect they have on a database server.


Protocol(s) used between the client and server such as HTTP/HTML, ODBC, SQL*NET, and DCOM.


The LoadRunner script language is ANSI C. It helps to know the C language, but the scripts are generated and manipulated by LoadRunner, so there is usually no need to directly edit the code. There is also a icon script view which completely hides the C code.


Load testing is not a heads down coding exercise. You will work with many parts of an organization to coordinate activities, schedules and resources.


Daily interaction with a variety of people requires good oral and written communication skills as well as good people skills. If you prefer to sit in a cube by yourself, you should stay in functional testing or development.

plz post ur comments to testingblog4u@gmail.com

Performance Testing News:

Loadrunner v12:
- Targeting an April 2012 Development release. Not sure when it will be available for public.
- Customers can participate in the beta program after legal procedures are completed.
- Availability of LR Mobile protocol. Performance testing for mobile (both web browser based as well as native mobile device) – Supports HP Palm Pre, iPhone (3GS, 4), Android, Blackberry phones and many other actual mobile devices.
- Support for Windows7, TruClient IE9.
- VUGen will be completely redesigned and new IDE (called Sharp Develop) will be built.

Performance Testing,Monitoing & Analysis Useful Documents

Download Performance Testing,Monitoing & Analysis Useful Documents


Loadrunner

Design scenario - Download

Record & Replay Issues with VUGen - Download

LR8.1 Protocol Footprint - Download

Monitoring & Analysis

HP Performance monitoring best practice - Download

Others

Load test plan - Download