4/11/16

Loadrunner Interview Questions and Answers

Question.1   Explain the purpose of load testing?

Answer:  Load testing is used to verify that the application operates as expected during peak usage periods or when it is utilized by a large amount of simultaneous users or handles a heavy load of transactions.
Question.2    Which LoadRunner protocol is used to record or playback an Oracle 9i application?
Answer:    Verify which protocol your application is running.  Any of the following protocols support LoadRunner: SMTP, POP, HTTPR, ODBC, COM/DCOM, JDBC Sybase, libPeoplesoft, libOracle, SAP, Baan, Siebel, RTEFT, MICORBA, and Windows sockets 
Question.3   Can LoadRunner be used to test non-web based applications such as desktop applications?
Answer:   LoadRunner can be used for desktop applications. When the VUE generator is started, it allows the tester to select the protocol that should be used. In addition to options for web-based applications, there are options for client/server applications as well.
Question.4    How can you call a WinRunner script from LoadRunner?
Answer:  a.    First generate a scenario by exchanging the VUser script for a GUI WinRunner script.
b.    Select the Details option from the Host menu.
c.    Select the check box for GUI WinRunner.
d.    Finally, execute the scenario.
 Question.5   What are the steps to performing stress testing?
Answer:
The steps to performing stress testing are the following:
1.    Identify testing objectives
2.    Identify scenarios
3.    Identify workload
4.    Identify metrics
5.    Create test cases
6.    Simulate load
7.    Analyze results
 Question.6   Define concurrent load?
Answer:   Concurrent load is a load of Vusers that will be logged into the system or application simultaneously in order to put stress on the server.
 Question.7   Explain correlation?
Answer:   Correlation is a process in LoadRunner that is used to handle dynamic values.  It shows how much (if at all) data is related.
 Question.8   What is important in planning a test?
Answer:  It is important to develop a clearly defined test plan to be certain that the test scenarios that are developed will accomplish all of the test objectives.
Question.9   How do you setup LoadRunner to allow the host and the controller to communicate with each other?
Answer:  Enable the agent and the remote launcher on the host machine.
Question.10   What type of environment is used for load testing?
Answer:   Load testing is performed in a controlled environment based on requirement specifications.  A test plan is created from the requirements and scenarios are created based on the test plan.
Question.11   What is used to measure performance?
Answer:  Transactions are considered to be the only way measuring performance.
Question.12   Define run-time setting?
Answer:   Loop, log, and time information is included in run-time setting.
Question.13   When should LoadRunner be used?
Answer:   LoadRunner should be used when many users work simultaneously.
Junior Loadrunner Interview questions
Question.14   What protocols are supported by LoadRunner?
Answer:  LoadRunner supports standard protocols for the industry such as ODBC and HTTP as well as any other protocol that communicates over a windows socket.
Question.15   Why is a Vuser script created?
Answer:  The Vuser script is created to simulate the action that a virtual user will perform when executing a scenario.
Question.16   How can a rendezvous point be used?
Answer:   A rendezvous point is used to simulate the peak server load.
Question.17   What is the purpose of LoadRunner?
Answer:   The purpose of LoadRunner is to accurately measure and analyze the performance and functionality of a system.
Question.18   Explain what LoadRunner is capable of monitoring?
Answer:  LoadRunner is capable of monitoring CPU utilization, response of the system, system stress, etc.
Question.19   Explain the different types of correlation?
Answer:  There are two types of correlation: manual and automatic.  In manual correlation, the data is scanned for values that can be correlated and a value is selected from the list.  In automatic correlation, more rules are set.  This can be specific based on the application server and values are replaced with data.