Sie sind auf Seite 1von 8

Load Runner

1. How VuGen create a Vuser script? By recording the activity between client and server. 2. Load Runner has various protocols to capture the request and response. 2. How you edit the script? While editing the script we have to insert the Transaction point and rendezvous point. 3. What is the load runner start transaction and its syntax? It will start the transaction on the script. Syntax: Lr-start-transaction (transaction name) 4. What are the load runner end transaction and its syntax? It will end transaction. Syntax: Lr-end-transaction (transaction name, LR-AUTO) 5. Where you insert the rendezvous point? Rendezvous point inserted into script to calculate the peak load of the server. Syntax: lr-rendezvous(rendezvous point) 6. What are the elements in the load runner controller? Title bar ( Name of the scenario presently working). Menu bar ( selecting the various command ). Tool bar. status bar. 7. What are the 5 icons appear in the bottom of the controller windows? 1. Host windows (list of machines) 2. Script windows (list of all the vuser script) 3. Rendezvous windows 4. Transaction windows(display all the transactions ) 5. output window(Display error and notification message) 8. What is .lrs? Loadrunner save the information in a scenario files. 9. What is scenario wizard? Through scenario wizard we can create a new scenario.

Load Runner
10. What is filtering and sorting? We can filter the information display only those items that meet the selected criteria(filter box) exam you can filter Vuser only those who are in ready state. Sorting we can sort all the Vuser in the vuser list. In order to their vuser ID(1,2,3,4,5,6,7,8,9). 11. What is the information creating for each host? 1. The status of the host. 2. The platform type of the host (window/unix) 3 Details of the scenario. 12. How to create a host list for a scenario? 1.Install remote command launcher on every machine. 2. Add the name of the host to the host lists. 3. Set attributes for each host. 4. Select which hosts will take part in the scenario. 13. What the host attributes determine? 1. The maximum number of vuser that host can run. 2. The initialization quota. 3. The location of the winrunner configuration file. 4. The location of the file during runtime. 14. How you set maximum number of vuser that a host can run? We can modify the maximum number of Vuser according to the (available resource, the needs of yours scenario, Loadrunner license arguments). 15. What do you mean by initialization of quota? Capabilities of the host that at a time how many vuser are initialize. 1. What is the differences between overlay graph and correlate graph? 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 and right Y axis show the value of Y axis of the graph that was merged. Correlate Graph: Plot the Y axis of two graphs against each other. The active graph Y axis becomes X axis of merged graph. Y axis of the graph that was merged becomes merged graphs Y axis. 2. How did you planned the load? What are the criteria? 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

Load Runner
on two 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 of usage are decided from this diagram. transaction profile gives us the information about the transaction names and their priorities levels with regard to the scenario we are deciding. 3. What does Vuser_init action contains? Vuser_init action contains procedures to login to a server 4. What does Vuser_end action contain? It contains logoff procedures. 5. What is think time? How does you change the threshold? Think time is the time that a real user waits between actions. Ex: When a user receives data from a server, the user may wait serveral seconds to review the data before resposding. This delay is known as the think time. Changing the threshold:Threshold level is the level below which the recorded think time will be ignored. the default value is 5 seconds. We can change the think time threshold in the recording options of the VuGen. 6.What is the difference between standard Log and Extended Log? The standard Log sends a subset of functions and messages sent during script execution to a log. The subset depends on the Vuser type extended log sends a detailed script execution messages to the out put log.This is mainly used during debugging when we want information abut parameter substitution, Data returned by the server, advanced trace. 7. Explain the following functions lr_debug_message - the lr_debug_message function sends a debug message to the out put log when the specified message class is set. lr_output_message - this function sends notification to the controker output window and the Vuser log file. lr_error_message - this function sends an error message ti the load runner output window. lrd_stmt- this function associates a character string ( usually a sql statement) with a courser. this function sets a sql statement to be processed. lrd_fetch - this function fetches th next row from the result set. Throughput- if the thruoghput scales upword as time progresses and number of Vusers incraesed, this indecates that the bandwidth is sufficient.

Load Runner
if the graph were to remain relatively flat as the number of Vusers increased, it would be reasonable to conclude that the bandwidth is constraining the volume of data delivered. Types of goals in goal oriented scenario Load runner provides u with 5 different types of goals in goal oriented scenario: The no. of concurrent Vusers The no. of hits per second The no. of transactions per second The no. of pages per minute The transaction response time that you want your scenario Analysis scenario(bottlenecks): In running Vuser graph correlated with the response time graph you can see that as no. of Vusers increases, the average response time of the check itinerary transaction very gradually increases.In other words, the average response time steadily increases as the load increases. At 56 Vusers, there is a sudden, sharp increases in the average response time.We say that the test broke the server.That is the mean time before failure (mtbf). The response time clearly began to degrade when there were more than 56 Vusers running simultaneously. 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

Load Runner
-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. 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 checks where performance delays occur network client delays. 3. LR monitor the network and server resource to help the improve performance. 1. What is the Vuser in the Scenario? Load runner replace the human user with Vuser.

Load Runner
2. What is Vuser script? While run a scenario every Vuser execute a script that is known as Vuser script. 3. What the vuser scripts contain? The Vuser script includes the function that measure and record the performance of the server during the scenario. 4. What is transaction? Transaction measures time, which takes for the server to respond to task submitted my Vuser. 5. What is rendezvous point? To emulate peak load on the server. 6. When the rendezvous point is inserted? When multiple Vuser to perform tasks at exactly the same time then insert the rendezvous point to emulate the peak load on server. 7. What is load runner controller? Controller is managed and maintain the scenario. Using controller you control all the vuser in single work station. 8. What is host? Host is machine which executes the Vuser script. 9. What is the load runner testing process? There are five steps: 1. Planning the test. 2. Creating the Vuser script. 3. Creating the scenario. 4. Running the scenario. 5. Analysis the test result. 10. What is planning for test? Define the performance testing requirements, for ex: Number of concurrent users, typical business processes and required response time. 11. What do you mean by creating Vuser script? Creating Vuser script for emulate the action that virtual user perform during the scenario execution. 12. What are the processes for developing a Vuser script? There are 5 steps for developing a Vuser script. 1. recording the Vuser script.

Load Runner
2. 3. 4. 5. Edit the Vuser script. runtime settings. Run the vuser script in standalone mode. Incorporate the Vuser script into a load runner scenario

13. How to create a scenario? We have to install load runner controller to the host. then we include list of hosts (where Vuser script execute) then the list of Vuser script ( where Vuser run) and then list of vuser that run during the scenario. 14. What do you mean by remote command launcher? RCL enables the controller to start the application on the host machine. 15. What is loadrunner agent? Agent is interface between host machine and controller. 1. How you load a loadrunner agent? Controller instruct the remote command launcher to launch the agent. 2. how many types of Vusers are available? There are several types of Vusers 1. GUI 2. Database 3.RTE(Terminal emulator) 4. SAP 5. DCOME 6. Peoplesoft 7. Java 8. BAAN 3. What is GUI Vuser and on which platform it will run? GUI vuser operate graphical user interface application and it can run in either the MS windows or X windows environment. 4. What is loadrunner API function? Database Vuser do not operate client application. Using loadrunner API function the database Vuser can access data from the server. 5. how do develop the database Vuser script? Developing the database Vuser script either by recording with load runner Vuser script generator (VuGen) or by using loadrunner Vuser script template. 6. How many sections database Vuser script have? 3 sections, written in code that assemble in C, SQL call to the database, written in TSL (test script language).

Load Runner
7. How you enhance the basic script? By adding control flow, structure, by inserting transaction point and rendezvous point, adding functions. 8. What is runtime setting? Runtime setting includes loop.log and timing information. 9. What is standalone mode? To verify that the script runs correctly or not. 10. What type of function generate and insert by the VuGen to the script whe you record a script? 1. LR function (Vuser function) 2. Protocol function. 11. What is LR function? Obtain the information about Vuser running in a scenario. 12 What is protocol function? Obtain the information about the type of Vuser. 13. what are the section contained by the VuGen while creating a Vuser script? VuGen contains the 3 sections. 1. Vuser-init 2. Action 3. Vuser-End 14. What is Vuser-init section? Record your log into the server(Vuser initialize loaded) 15. What is action section? Record the client activity 16. What is Vuser end section? Record a log off into the server (Vuser stopped) 17. What is difference between simultaneous and concurrent User?

Das könnte Ihnen auch gefallen