LoadRunner Tutorial 1 - Introduction to LoadRunner: This video introduces HP LoadRunner and the loadrunner performance testing process. It also explains how to download and install LoadRunner.
LoadRunner Tutorial 2 - Business Process and Sample Web Application: First, we gather the requirements. This includes identification of the business processes to be tested. In this video, we understand what a business process is and see a sample business process. Then execute that business process in the sample web application provided with LoadRunner. This application is the HP Web Tours application. In performance testing, when we run the business process, we should choose the most common or at least realistic test data. Our requirement gathering should include finding this test data.
LoadRunner Tutorial 3 - Virtual User Generator VuGen Vuser (automated performance testing) script: In this video, I have explained how to create the automated performance testing script in LoadRunner Virtual User Generator (VuGen). In VuGen, we can create a single protocol script and record the business process. We can edit the generated Vuser script to enhance it. VuGen user interface has several useful features like Solution Explorer, Step Navigator, Editor, Output pane, Errors pane, Bookmarks pane and Thumbnail Explorer.
LoadRunner Tutorial 4 - Vuser Script Replay: In this video, I have explained how to replay the recorded Vuser script. The results of the replay or playback are shown in the replay summary tab in the VuGen. These are shown in the test results window and the replay log. We can save the replay log as a text file. LoadRunner VuGen provides runtime settings, which are individual settings for each Vuser script. These runtime settings include run logic, pacing, log, think time, browser emulation and speed simulation. We can playback a Vuser script from the command prompt instead of VuGen.
LoadRunner Tutorial 5 – Parameterization parameters data-driven Vuser script: In this particular video, I have explained one of the concepts to make the Vuser script ready for load testing. This is parameterization. It means that instead of using a fixed value in our Vuser script, we can have a parameter. In the load test, different Vusers would use different values so this makes the Vuser script more realistic. Also, this separates the data from the script code making the Vuser script data-driven.
LoadRunner Tutorial 6 – text check and image check: In this video, we see one more concept to make the Vuser script ready for load testing. This is content checks. In order to verify that the server returns the correct responses, we can use text checks or image checks. The default is that the text checks and image checks are disabled during playback. This is because they consume more memory. We need to enable these in run-time settings. We can implement the text check with web_reg_find function. We can implement the image check with the web_image_check function.
LoadRunner Tutorial 7 – Transactions: In this video, we see one more important concept to make the Vuser script ready for load testing. It is transactions. A transaction is a part of a Vuser script. A transaction is used to measure the time it takes to complete one or more actions of a business process. We insert lr_start_transaction marker before the first step and an lr_end_transaction marker after the last step of our transaction. In HP LoadRunner VuGen, we can mark any number of transactions in a Vuser script. However, the name of each transaction has to be different. The LoadRunner Controller measures the time it takes to perform each transaction.
LoadRunner Tutorial 8 - Controller - Manual Scenario: In this video, we start with the LoadRunner component called Controller. Using Controller, we can set up the performance test, run it and monitor the performance test as it is running. The settings of a performance test are called a scenario. We can set up a Manual Scenario. Here we need to specify the number of virtual users. We add the Vuser scripts in the Scenario Groups pane and schedule the scenario in the Scenario Schedule pane. Our scenario settings should be as close as possible to what happens in the real production environment.
LoadRunner Tutorial 9 - Controller user interface and manual scenario continued: In this video, we understand the user interface of the Run tab in LoadRunner Controller. It has the panes for scenario groups, scenario status, available graphs, graph display and graph legends. In the Vusers dialog box, we can stop any vuser, add vusers, run vusers, see the tasks of any vuser and see the vuser log. We can see the errors, warnings and other messages in the output window.
LoadRunner Tutorial 10 - Controller goal oriented scenario explained: In this video, we understand the goal-oriented scenario in Controller. In a goal-oriented scenario, we specify the goal. For example, transaction response time or number of hits per second. LoadRunner creates a scenario based on the goal automatically. There are five types of goals, Vusers, transactions per second, transaction response time and for web applications, pages per minute or hits per second.
LoadRunner Tutorial 11 - Analysis and SLA: In this video, we learn about the Analysis component of LoadRunner. Analysis collects and consolidates the test logs from all the load generators. Using Analysis, we can see the performance test results. In Analysis, we can analyze the performance test results by comparing the measurements to our performance requirements. Or we can review multiple graphs or even merge several graphs into one graph. We also learn about SLA (Service Level Agreement). SLA are one or more goals specified for the load test scenario. Analysis compares the goals with the test results. Analysis finds out if the SLA statuses passed or failed.
LoadRunner Tutorial 12 - Analysis detailed explanation: In this video, we dive deeper into the Analysis component of LoadRunner. Analysis shows the summary report with sections of statistics summary, worst performing transactions, scenario behavior over time and transaction summary. We can view graphs. In addition, we can merge graphs together. In order to see the factors related to a transaction’s performance, we can use auto-correlate. In Analysis, both HTML report and Microsoft Word report are available.