Loadrunner Interview Questions and Answers - Performance Testing Interview Questions
Loadrunner Interview Questions and Answers - Performance Testing Interview Questions
H2kInfosys
H2K Infosys provides online IT training and placement services worldwide.
www.H2KINFOSYS.com
USA- +1-(770)-777-1269, UK (020) 3371 7615
[email protected] / [email protected]
DISCLAIMER
H2K Infosys, LLC (hereinafter H2K) acknowledges the proprietary rights of the trademarks and
products names of other companies mentioned in any of the training material including but not
limited to the handouts, written material, videos, power point presentations, etc. All such training
materials are provided to H2K students for learning purposes only. H2K students shall not use such
materials for their private gain nor can they sell any such materials to a third party. Some of the
examples provided in any such training materials may not be owned by H2K and as such H2K does
not claim any proprietary rights for the same. H2K does not guarantee nor is it responsible for such
products and projects. H2K acknowledges that any such information or product that has been
lawfully received from third party source is free from restriction and without any breach or
violation of law whatsoever.
USA: 770-777-1269
UK: 020-33717615
Job Oriented Instructor Led Face2Face True Live Online I.T. Training for Everyone Worldwide
www.H2kinfosys.com|| [email protected]
USA: 770-777-1269
UK: 020-33717615
Job Oriented Instructor Led Face2Face True Live Online I.T. Training for Everyone Worldwide
www.H2kinfosys.com|| [email protected]
7) What is LoadRunner?
Ans:
It is a Performance Test Tool from HP. It supports all aspects of Performance Testing
like Load, Stress, Endurance, spike and Data volume testing.
8) What are the tools available in the industry for Load Testing?
Ans:
LoadRunner from HP
RPT (Rational Performance Tester) from IBM
Silk Performer from Micro Focus
JMeter (Open source Tool) Etc
USA: 770-777-1269
UK: 020-33717615
Job Oriented Instructor Led Face2Face True Live Online I.T. Training for Everyone Worldwide
www.H2kinfosys.com|| [email protected]
network monitors. They help in finding out the troubled area in our scenario which
causes increased response time. The measurements made are usually performance
response time, throughput, hits/sec, network delay graphs, etc.
13) If web server, database and Network are all fine where could be the
problem?
Ans:
The problem could be in the system itself or in the application server or in the code
written for the application.
14) How did you find web server related issues?
Ans:
Using Web resource monitors we can find the performance of web servers. Using
these monitors we can analyze throughput on the web server, number of hits per
second that occurred during scenario, the number of http responses per second, the
number of downloaded pages per second.
15) How did you find database related issues?
Ans:
By running Database monitor and help of Data Resource Graph we can find
database related issues. E.g. You can specify the resource you want to measure on
before running the controller and than you can see database related issues
16) Explain all the web recording options?
17) What is the difference between Overlay graph and Correlate graph?
Ans:
Overlay Graph:
It overlay the content of two graphs that shares a common x-axis. Left Y-axis on the
merged graph shows the current graphs value & Right Y-axis show the value of Yaxis of the graph that was merged.
Correlate Graph:
USA: 770-777-1269
UK: 020-33717615
Job Oriented Instructor Led Face2Face True Live Online I.T. Training for Everyone Worldwide
www.H2kinfosys.com|| [email protected]
Plot the Y-axis of two graphs against each other. The active graphs Y-axis becomes
X-axis of merged graph. Y-axis of the graph that was merged becomes merged
graphs Y-axis.
18) How did you plan the Load? What are the Criteria?
Ans:
Load test is planned to decide the number of users, what kind of machines we are
going to use and from where they are run. It is based on 2 important documents, Task
Distribution Diagram and Transaction profile. Task Distribution Diagram gives us the
information on number of users for a particular transaction and the time of the load.
The peak usage and off-usage are decided from this Diagram. Transaction profile
gives us the information about the transactions name and their priority levels with
regard to the scenario we are deciding.
19) What does vuser_init action contain?
Ans:
Vuser_init action contains procedures to login to a server.
20) What does vuser_end action contain?
Ans:
Vuser_end section contains log off procedures.
USA: 770-777-1269
UK: 020-33717615
Job Oriented Instructor Led Face2Face True Live Online I.T. Training for Everyone Worldwide
www.H2kinfosys.com|| [email protected]
USA: 770-777-1269
UK: 020-33717615
Job Oriented Instructor Led Face2Face True Live Online I.T. Training for Everyone Worldwide
www.H2kinfosys.com|| [email protected]
Oracle E-Business
Remote Access
Rich Internet Applications
SAP
SOA
Templates
Web and Multimedia
Wireless
GUI
Java Record/Replay
Remote Desktop
Web 2.0
26) What is the extension of LoadRunner scenario file?
Ans:
Extension of LoadRunner scenario file is .lrs
27) How many areas we can do the correlation?
Ans:
Areas of correlation are:
1) ItemData
2) TimeStamp
3) Links
4) Check Boxes
5) List Buttons
6) Radio Buttons
28) Tell something about LoadRunner?
USA: 770-777-1269
UK: 020-33717615
Job Oriented Instructor Led Face2Face True Live Online I.T. Training for Everyone Worldwide
www.H2kinfosys.com|| [email protected]
Ans:
1) LoadRunner is the industry standard automated performance and load testing tool.
2) HP acquired LoadRunner as part of its acquisition of Mercury Interactive.
3) Using LoadRunner one can emulated hundreds and thousand of virtual users for
performance and load testing.
4) LoadRunner supports wide range of industry standard applications for load testing.
29) What are the features of HP LoadRunner?
Ans:
The key features of HP LoadRunner are as follows:
1. TruClient technology that simplifies and accelerates scripting for complex Rich
Internet applications.
2. Enterprise load generation that applies measurable and repeatable loads while
monitoring systems and end-user transactions to identify issues.
3. Powerful analysis and reporting capabilities that help isolate performance
bottlenecks quickly and easily.
4.Integrated diagnostics help pinpoint the root causes of application-level issues down
to the code level.
30) What is a virtual user or VUser in LoadRunner?
Ans:
Virtual user or Vuser emulates the real user steps. The real user steps are recorded a
test script.
During the recording time user steps (like posting the requests or accessing the pages)
are recorded as test script. When the test script is played back the script is going to
perform the user actions. The real user emulation by playing back the script is called
virtual user or vuser.
The vusers are created as a process or a thread in LoadRunner for multiple users.
31) What are the LoadRunner components?
Ans:
LoadRunner has majorily 4 components
1. LoadRunner VuGen - Virtual user generator - used for scripting purpose.
2. LoadRunner Controller - used for load test execution and monitoring purpose.
3. LoadRunner Load Generator - used for generating the load of multiple virtual users.
4. LoadRunner Analysis - used for analysis and reporting purpose.
USA: 770-777-1269
UK: 020-33717615
Job Oriented Instructor Led Face2Face True Live Online I.T. Training for Everyone Worldwide
www.H2kinfosys.com|| [email protected]
USA: 770-777-1269
UK: 020-33717615
Job Oriented Instructor Led Face2Face True Live Online I.T. Training for Everyone Worldwide
www.H2kinfosys.com|| [email protected]
The VUGen stands for Virtual User Generator. VuGen is used to generate vuser script
(here we record a business operation performed by a single user).
36) What is the analyzer in LoadRunner?
Ans:
This gives you the results of the load runner test. These results can be viewed in
graphs and reports.
37) Do we see much difference in load testing for web applications versus
traditional software?
Ans:
Yes. From own experience, in traditional applications, the developers know more
about how it all works, if its in house then developers are easy to access and know
the environment. With Web and CMS, there is so much the developers dont know
about, this is especially true when they integrate out of the box solutions. So many
software developers now are using solutions they buy from someone else and they are
slow to turn around bugs, functional or non-functional. Obviously this depends on a
lot again, traditional applications can also fall into these traps, but its more common
with Web.
38) What are some of the most common web app bottlenecks that you find and/or
fix?
Ans:
Some of the most common web app bottlenecks that you find and/or fix:
Misconfigured server, poor performing stored procedure, or the application. Less
down to infrastructure as most places we have been they spend a lot of money in this
area.
39) Have you ever measured application performance re-engineering impact by
operations cost reduction?
Ans:
Yes. We can test a work-flow application, and the speed of this application had an
impact on both the productivity of a large portion of their workforce, and the
performance of their helpdesk staff, which had a direct effect on their reputation.
40) What do you think is the most important aspect of load testing?
USA: 770-777-1269
UK: 020-33717615
Job Oriented Instructor Led Face2Face True Live Online I.T. Training for Everyone Worldwide
www.H2kinfosys.com|| [email protected]
Ans:
Most important aspect of load testing:
As mentioned getting the scenario right and answering the business question. No point
telling them , it breaks at 1000 users, when they have 100 people working there and
they were concerned only with network latency". (Simplistic example as we know).
USA: 770-777-1269
UK: 020-33717615
Job Oriented Instructor Led Face2Face True Live Online I.T. Training for Everyone Worldwide
www.H2kinfosys.com|| [email protected]
USA: 770-777-1269
UK: 020-33717615
Job Oriented Instructor Led Face2Face True Live Online I.T. Training for Everyone Worldwide
www.H2kinfosys.com|| [email protected]
51) What are the tools available in the industry for Load Testing?
Ans:
HP-LoadRunner
IBM - RPT (Rational Performance Tester)
Micro Focus - Silk Performer
JMeter (Open source Tool)
QA WebLoad (RadView)
Etc...
52) What are the considerable factors in Performance Result Analysis using
LoadRunner?
Ans:
Performance Bench Marks
Local System Configuration
Network communicators
Server response
53) How to identify the memory leakage using Loadrunner?
USA: 770-777-1269
UK: 020-33717615
Job Oriented Instructor Led Face2Face True Live Online I.T. Training for Everyone Worldwide
www.H2kinfosys.com|| [email protected]
Ans:
In Load runner, every application has a processor running in the system. The
processor needs to be identified. Using the performance tab we can check the memory
consumption of the processor. Continuous tracking needs to be done while load
testing. However, if the memory keeps increasing even on stopping the test, a memory
may have occurred. Also, if the memory is not released on stopping the test, a
memory may have occurred.
USA: 770-777-1269
UK: 020-33717615
Job Oriented Instructor Led Face2Face True Live Online I.T. Training for Everyone Worldwide
www.H2kinfosys.com|| [email protected]
57) Do you feel like performance testing is an accepted critical part of the
development life cycle?
Ans:
It is getting that way yes, with more and more crashes getting exposure on the news
here and with it happening more and more it has become a critical part of testing.
58) What are the key KPIs you track for performance testing and tuning?
Ans:
The key KPIs that we track for performance testing are transaction response time,
memory usage, disk space, and CPU time.
Tuning: Network delay and stored procedure times.
59) What is Throughput?
Ans:
Basically, Throughput is the amount of transactions produced over time during a
test. Its also expressed as the amount of capacity that a website or application can
handle. Also before starting a performance test it is common to have a throughput
goal that the application needs to be able to handle a specific number of requests per
hour.
60) What is peak load testing?
Ans:
Peak load is the maximum amount of concurrent users that are on a website within a
certain time period. For example, if you own a retail website, your peak load during
any given week is most likely to be on the weekend. It would also follow that the
Thanksgiving and Christmas holiday season is your busiest overall.
61) What is the focus of Performance testing?
Ans:
The focus of Performance testing is checking a software programs
Speed Determines whether the application responds quickly.
Scalability Determines maximum user load the software application can handle.
Stability Determines if the application is stable under varying loads.
USA: 770-777-1269
UK: 020-33717615
Job Oriented Instructor Led Face2Face True Live Online I.T. Training for Everyone Worldwide
www.H2kinfosys.com|| [email protected]
USA: 770-777-1269
UK: 020-33717615
Job Oriented Instructor Led Face2Face True Live Online I.T. Training for Everyone Worldwide
www.H2kinfosys.com|| [email protected]
fixed. This testing will be conducted for comparing the response times and system
resource utilization of AUT when the number of users are increased.
USA: 770-777-1269
UK: 020-33717615
Job Oriented Instructor Led Face2Face True Live Online I.T. Training for Everyone Worldwide
www.H2kinfosys.com|| [email protected]
Second step will be to do the End to End testing with E2E scenarios.
Third test will be to do the rigorous testing.
Final step will be to do the load testing.
71) Why should we automate the performance testing?
Ans:
Its a discipline that leverages products, people and processes to reduce the risk of
application, upgrade or patch deployment. It is about applying production work loads
to pre-deployment systems while simultaneously measuring system performance and
end-user experience.
72) What are the results reported after the Endurance/Longevity/Soak Testing?
Ans:
Results Reported after the Endurance / Longevity / Soak Testing Test:
When the endurance test is conducted on a multi tier web based enterprise level
applications the following kind of results will be reported.
Memory leaks on the application servers
JVM Heap size utilization on the application servers
Connection leaks on the database server
Cursor leaks on the data base servers
Response time (consistency or degradation) comparison for start of the load test to
end of the load test
Systems Resource (Memory, CPU, Network and Disk usage etc) comparison for
beginning of the load test to end of the load test
Application errors occurrence over the period of time.
73) What are all the things will be considered while doing performance testing?
Ans:
Does the application respond quickly enough for the intended users?
Will the application handle the expected user load and beyond?
Will the application handle the number of transactions required by the business?
Is the application stable under expected and unexpected user loads?
Are we sure that users will have a positive experience on go-live day?
USA: 770-777-1269
UK: 020-33717615
Job Oriented Instructor Led Face2Face True Live Online I.T. Training for Everyone Worldwide
www.H2kinfosys.com|| [email protected]
74) What are the results reported after the load Testing?
Ans:
Results Reported after the load Test:
The system will be validated to ensure whether the service level agreements or
performance objectives are met.
Average, max, min and standard deviation of response times for each scenario will
be measure and reported.
Resource utilization of each of the systems which are part of AUT will be monitored
and reported.
If there is any application break point below the peak load condition, it need to be
identified and reported.
75) What are the results reported after Spike Testing?
Ans:
Results Reported after Spike Testing:
The systems resources are utilization comparison for, with and without spikes.
The response times comparison for, with and without spikes.
Observation on errors for, with and without spikes.
76) What is remote command launcher?
Ans:
The remote command launcher enables the controller to start applications on the host
machine.
77) How to determine the Stress Point?
Ans:
Determining the Stress Point:
Transaction response times are exponentially increased
The application started throwing the errors for many users
The system stopped responding
At least one of the server in AUT architecture got crashed
The system resource utilization went beyond the acceptable limits.
78) What are the results reported after Scalability Testing?
Ans:
Results Reported after Scalability Testing:
USA: 770-777-1269
UK: 020-33717615
Job Oriented Instructor Led Face2Face True Live Online I.T. Training for Everyone Worldwide
www.H2kinfosys.com|| [email protected]
The comparison charts of different number of users and their response times.
The comparison charts of system resource utilization for different amount of users.
Scalability issues when the number of users are incremented.
Identification of scalable point of the application.
USA: 770-777-1269
UK: 020-33717615