1. What protocol does LR supports?
Industry slandered protocols .For EX: HTTP and ODBC are explicitly supported by LR. Further more 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 LR 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 yo are working with, developers can be unhealpfull
-a basic understanding of c programming
-know that you will be working wit demising time scales and you are really at the end of the life cycle
-as a result of the above you may have to work unsociable covers including week ends
- managers and other “Powers that be”-”BOX tickers” will not understand your plight
You need to be able to communicate effectively at all levels wit different departments from business to Dev to system testing
-voice your problems as soon as possible- planning
-fail to plan - plan to fail
3.What can i monitor with LR?
Monitor system bottle necks during a test run can capture and display the performance data from every server or component.
4.How many users can i emulate with LR on a pc?
Unlimited, no dead end.
Depends on system response. That to in turn depend on various factors like entire system configuration etc.
If system bottleneck observes in very beginning or minimum number of Vusers no further addition of Vusers will be considered unless observed bottle neck is resolved.
5.What r the Vuser comp[components in the LR?
Application components used are client, data base or additionally business application server
Web server works on and through LAN, WAN or WWW. connection.
Application server components are client, business server and data base server with out use of www but through protocols like ftp.
6. LR function - How to get current system time?
This function is developed to use in mercury load runner performance tool. The main use of this function to return the current system time at any given point of time while LR script is running. This function can be used to report transaction times, script start 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 minuets 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 data base server?
Parameterization is generally done to test with multiple set of data or records.
8. What is LR?
LR accurately measure and analysis the system performance and functionality .
9. When LR is used?
When multiple users were work concurrently
10.What is the advantage of using LR?
1. LR automatically records the performance of the client server during test.
2. LR ckecks where performance delauys occure netwoerk client delays.
3. LR monitor the network and server resource to help the improve performance.