Rehearsal of LoadRunner in 1 Hr: Interview Questions 61 – 70
While appearing in an interview for a position on HP LoadRunner, do a quick rehearsal of your knowledge on this tool.
Here is a collection of 80 short questions on LoadRunner & Load-Testing, the Test Managers commonly use while interviewing new aspirants for their organization.
The entire rehearsal of these questions can take less than an hour.
Set of Ten Questions
Q.61: Which information is not available while viewing the summary data?
The following graphs are not available when viewing summary data only:
1) Data Point (Sum)
2) Error
3) Network Monitor
4) Rendezvous
5) Siebel DB Side Transactions
6) Siebel DB Side Transactions by SQL Stage7) SQL Average Execution Time
8) Web Page Diagnostics
<<<<<< =================== >>>>>>
Q.62: How do we open the Graphs and Reports?
You access Analysis graphs and reports from the Session Explorer Window (Windows > Session Explorer).
You add graphs to the Session Explorer using the Open a New Graph dialog box.
<<<<<< =================== >>>>>>
Q.63: What is the Session Explorer Window & what are its constituents?
The Session Explorer (Windows > Session Explorer) displays a tree view of the items (graphs and reports) that are open in the current session.When you click an item in the Session Explorer, it is activated in the main Analysis window.
The Session Explorer is divided into the following categories.
1) Summary Report: Click this node to access the Summary report (wherever available).
2) Service Level Agreement: Expand this node to access the SLA (Service Level Agreement) reports.
3) Analyzed Transactions: Expand this node to access the Transaction Analysis reports.
4) Graphs: Expand this node to access the Analysis graphs. To open another graph or create a duplicate of an existing one, choose Graph > Add New Graph.
<<<<<< =================== >>>>>
Q.64: How do we generate or display Graphs?
Click Open Graph.
Analysis generates the selected graph and adds it to the Session Explorer. The graph is displayed in the main Analysis window.
To display an existing graph in the right pane of the Analysis window, select the graph in the Session Explorer.
<<<<<< =================== >>>>>>
Q.65: How can we do the repositioning and docking of Analysis Windows?
You can reposition any window by dragging it to the desired position on the screen. You can dock a window by dragging the window and using the arrows of the guide diamond to dock the window in the desired position.
Docking of a window: Assume, for example, that you want to dock the Legend window so that it is displayed below the Session Explorer window.
1) Ensure that Windows > Layout locked is not selected.
2) Select the Legend window and drag it to the Session Explorer window.
A guide diamond opens in the middle of the Session Explorer. Each arrow on the guide diamond represents the position of the Legend window on the screen, relative to the Session Explorer.
3) Place the Legend window on the bottom arrow of the guide diamond. The Legend window appears below the Session Explorer.
You can set a window to floating mode by double-clicking the window�s title bar. The window undocks and floats above all the other windows. To dock the window back into position, double-click the title bar again.
<<<<<< =================== >>>>>>
Q.66: What is Aggregation of Data?
When you choose to generate the complete Analysis data, Analysis aggregates the data.
Aggregation process reduces the size of the database and decreases processing time in large load test scenarios.
<<<<<< =================== >>>>>>
Q.67: What is the use of Result Collection Tab in the Options Dialog Box?
You use the Result Collection tab of the Options dialog box to configure data options.
In large load test scenarios, with results exceeding 100 MB, it will take several minutes for Analysis to process the data.
The Result Collection tab of the Options dialog box enables you to indicate to LoadRunner to display a summary of the data, while you wait for the complete data to be processed.
<<<<<< =================== >>>>>>
Load & Stress Testing of websites
<<<<<< =================== >>>>>>
Q.68: Why Scalability and Load Testing is Important?
Some very high profile websites have suffered from serious outages and/or performance issues due to the number of people hitting their website. E-commerce sites that spent heavily on advertising but not nearly enough on ensuring the quality or reliability of their service have ended up with poor web-site performance, system downtime and/or serious errors, with the predictable result that customers are being lost.
In the case of ToysRUS, its web site couldn’t handle the approximately 1000 percent increase in traffic that their advertising campaign generated. Similarly, Encyclopaedia Britannica was unable to keep up with the amount of users during the immediate weeks following their promotion of free access to its online database. The truth is, these problems could probably have been prevented, had adequate load testing taken place.
When creating an e-Commerce portal, companies will want to know whether their infrastructure can handle the predicted levels of traffic, to measure performance and verify stability.
These types of services include Scalability / Load / Stress testing, as well as Live Performance Monitoring.
Load testing tools can be used to test the system behavior and performance under stressful conditions by emulating thousands of virtual users. These virtual users stress the application even harder than real users would, while monitoring the behavior and response times of the different components. This enables companies to minimize test cycles and optimize performance, hence accelerating deployment, while providing a level of confidence in the system.
Once launched, the site can be regularly checked using Live Performance Monitoring tools to monitor site performance in real time, in order to detect and report any performance problems – before users can experience them.
<<<<<< =================== >>>>>>
Q.69: How do we prepare for a Load Test?
The first step in designing a Web site load test is to measure as accurately as possible the current load levels.
Measuring Current Load Levels:
The best way to capture the nature of Web site load is to identify and track, [e.g. using a log analyzer] a set of key user session variables that are applicable and relevant to your Web site traffic.
Some of the variables that could be tracked include:
1) The length of the session (measured in pages)
2) The duration of the session (measured in minutes and seconds)
3) The type of pages that were visited during the session (e.g., home page, product information page, credit card information page etc.)
4) The typical/most popular �flow� or path through the website
5) The % of �browse� vs. �purchase� sessions
6) The % type of users (new user vs. returning registered user)
Measure how many people visit the site per week/month or day.
Then break down these current traffic patterns into one-hour time slices, and identify the peak-hours (i.e. if you get lots of traffic during lunchtime etc.), and the numbers of users during those peak hours.
This information can then be used to estimate the number of concurrent users on your site.
<<<<<< =================== >>>>>>
Q.70: What is the meaning of Concurrent Users?
Although your site may be handling x number of users per day, only a small percentage of these users would be hitting your site at the same time.
For example, if you have 3000 unique users hitting your site on one day, all 3000 are not going to be using the site between 11.01 and 11.05 am.
So, once you have identified your peak hour, divide this hour into 5 or 10 minute slices [you should use your own judgement here, based on the length of the average user session] to get the number of concurrent users for that time slice.
Next Set of LoadRunner Rehearsal Questions 71 – 80
Rehearsal of QTP in 1 Hr. Interview Questions
An expert on R&D, Online Training and Publishing. He is M.Tech. (Honours) and is a part of the STG team since inception.