Add Script Dialog Box

This dialog box enables you to add Vuser scripts to a scenario.
To access
Use one of the following:
  • All scenarios: Design tab > Right-click in Scenario Scripts pane > Add Script
  • Goal-oriented scenario: Design tab > Scenario Scripts pane > Add Script
  • Manual scenario (percentage mode): Design tab > Add Group 
Important information
While a scenario is running, you can add scripts to the scenario and enable them. However, if you add a script after all the Vusers in the scenario have started running, the added script will not run in the scenario.
Relevant tasks
See Also
User interface elements are described below:
UI Element
Description
Enables you to add Vuser scripts to the list of scripts.
Opens VuGen for recording a new Vuser script. For more information, see Record a Vuser Script.
Use existing LoadRunner script
Lists the available scripts that have been added to the scenario. When you select a script, its name and path are displayed above the list.
To display the scripts with their full paths, right-click the list area and select Show Paths.
Use a Noise Generator script with the following URL
The URL to which you want to apply noise testing. You can provide a server name, IP address, or a full URL. After a URL is used once, it appears in a dropdown list.
 
LoadRunner automatically generates a script name using the following format:Noise_<domain>_<index>, e.g. Noise_HP_1.
Note: There is no built-in validation, so you must verify that the URL you provide is operational.

No comments:

Post a Comment