Opening the Controller - LoadRunner

Set up the LoadRunner environment according to the instructions in the LoadRunner Installation Guide.

To open the Controller:

You can open the Controller from either of following:

  • Start > Programs > Mercury LoadRunner > Applications > Controller
  • Start > Programs > Mercury LoadRunner > LoadRunner. Mercury LoadRunner opens. Select the Load Testing tab, and then click Run Load Tests.

By default, the Controller opens with the New Scenario dialog box. Note that the New Scenario dialog box will not open on startup if you clear the Show at Startupcheck box or choose View> Show New Scenario dialog box(check mark cleared). To show the New Scenario dialog box at startup, select Show at Startupor choose View > Show New Scenario dialog box(check mark displayed). If the New Scenario dialog box does not open on startup, you can open it by choosing File> New or by clicking the New button on the Controller toolbar.

Opening the Controller

You can select one of two methods to create a scenario: Manual Scenario or Goal-Oriented Scenario. In a manual scenario, you create the scenario yourself by defining the number of Vuser groups you want to run, and building a schedule for LoadRunner to run these groups. You can also create a manual scenario by defining the total number of Vusers to be used in the scenario, and assigning a percentage of the total number of Vusers to each script. If you want to create a scenario using the Percentage Mode, selectUse the Percentage Mode to distribute the Vusers among the scripts. In a goal-oriented scenario, you define the goals you want your test to achieve, and LoadRunner automatically builds a scenario for you, based on these goals.

To select the script or scripts that you want to use in your scenario:

  1. Select a script from the Available Scripts list. By default, the list displays the fifty most recently used scripts.

Note: You can change the maximum number of scripts displayed in the Available Scripts list by modifying the following registry key: HKEY_ CURRENT_ USER Software Mercury InteractiveRecentScripts max_num_of_scripts You can also click the Browse button to locate the script you want to use. To view the directory path of a script listed in the Available Scripts list, rightclick the script and select Show Paths. To select a script saved in the Quality Center database, click Quality Center. To record a new script using VuGen, clickRecord.

Note: To select a VB Vuser script, browse to locate the .usr file.

  1. Click Add to copy the script you selected to the Scripts in Scenario list.
  2. Click Remove to remove a script from the Scripts in Scenario list.
  3. To bypass this dialog box the next time you create a new scenario, clear the Show at startupcheck box. You will be able to add scripts later on, while building your scenario.
  4. Click OKto close the dialog box.

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

LoadRunner Topics