Saturday 31 January 2015

83 TOP LoadRunner Interview Questions and Answers

1. What protocols does LoadRunner support?
Industry standard protocols for example HTTP and ODBC are explicitly supported by LoadRunner. Furthermore any protocol that communicates over a windows socket can be supported.

2. What do I need to know to do load testing in addition to knowing how to use the LoadRunner tool? 
In addition to knowing the tool :
- Management aspects of Load Testing, Planning being paramount
- Requirements gathering, Profile/Mix, SLA, Acceptance Criteria....
- an general understanding of the protocol you are working with, developers can be unhelpful
- a basic understanding of C programming
- know that you WILL be working with diminishing timescales and you are really at the END of the lifecycle
- as a result of the above you may have to work unsociable hours including weekends
- Managers and other "Powes that be" - "Box tickers" will not understand your plight
- You need to be able to communicate effectively at all levels with different departments from Business to Dev to Sys Test
- voice your problems as soon as possible - Planning Planning
- Fail to Plan - Plan to FAIL

3. What can I monitor with LoadRunner? 
Monitor system bottlenecks during a test run and capture and display the performance data from every server or component.

4. How many users can I emulate with LoadRunner on a PC? 
Unlimited, No dead end.,
Depends on system response. That too inturn depends on various factors like entire system configuration etc. If system bottle necks observes in very begining or minimum no of Vusers no further addition of vusers will be considered unless observed bottleneck is resolved.

5. What are the Vuser components in LoadRunner? 
ApplicationComponents used are client, database or additionally business application server.)
Web Server works on and through LAN,WAN,or www connection.
Application Server components are client, business server and database server without use of www.but through Protocols like FTP.

6. LoadRunner Function - How to get current system time 
This function is developed to usein Mercury LoadRunner peformance tool. This main use of this functions to return the current system time at any given point of time while LoadRunner script is running.This functiona can be used to report transaction times , script starti time and end time.
long get_secs_since_midnight(void)
{
char * curr_hr; /* pointer to a parameter with current clock hr */
char * curr_min; /* pointer to a parameter with current clock min*/
char * curr_sec; /* pointer to a parameter with current clock sec */
long current_time, /* current number of seconds since midnight */
hr_secs, /* current hour converted to secs */
min_secs, /* current minutes converted to secs */
secs_secs; /* current number of seconds */

curr_hr = lr_eval_string("{current_hr}>");
curr_min = lr_eval_string("{current_min}");
curr_sec = lr_eval_string("{current_sec}");

hr_secs = (atoi(curr_hr)) * 60 * 60;
min_secs = (atoi(curr_min)) * 60;
secs_secs = atoi(curr_sec);

current_time = hr_secs + min_secs + secs_secs;

return(current_time);
}

7. What are the reasons why parameterization is necessary when load testing the Web server and the database server. 
Parameterization is generally done to test with multiple set of data or records.

8. what is LoadRunner. 
LoadRunner accurately measure and analysis the system performance and its functionality.

9. When LoadRunner is used. 
When multiple users work concurrently.

10.What is the advantage of using LoadRunner. 
1-loadrunner automatically records the performance of the client/server during test. 2-loadrunner checks where performance delays occur network/client delays. 3-loadrunner monitor the network and server resource to help the improve performance.
More Questions & Answers :-

No comments:

Post a Comment