Share this page

# View/modify scripts in the scenario

This section describes how to view and modify scripts used in your load test scenario.

You view or modify the details of the scripts in the Group Information dialog box (for details, see Group Information dialog box) or in the Script Information dialog box (for details, see Script Information dialog box).

In this topic:

## View script details

You can view the details of a script by right-clicking the script in the Scenario Groups/Scripts pane and selecting Details.

In the Group/Script Information dialog box that opens, you can:

- View details about the script, including:

  - Script path

  - Command line options

  - Rendezvous points included in the script

  - Vusers associated with the script

  - Files associated with the script

Note: If you do not see some of the details listed above, click More.

- Open the script in VuGen by clicking the View Script button

- View the script's runtime settings by clicking the Runtime Settings button

## Modify a script's runtime settings

Modifying the runtime settings for one Vuser in a group modifies the runtime settings for all the Vusers in that group that are using the same script.

For details about specific runtime settings, see Configure runtime settings in the VuGen help center (select the relevant version).

- When you modify the runtime settings from Controller, the script is run using the modified settings. The modified runtime settings apply only in the current scenario. The runtime settings in the original script file are not affected.

- To view or modify a script's runtime settings, in the Scenario Groups/Scripts pane right-click the script and select Runtime Settings.

- If you select multiple groups/scripts and select Runtime Settings from the right-click context menu, the Runtime Settings dialog box opens for each of the group/scripts in a sequential manner—when you close the dialog box for the first group/script, another Runtime Settings dialog box opens for the next group/script. The dialog box's banner indicates the name of the current group or script.

- To view or modify runtime settings of a script associated with a particular Vuser, in the Vusers dialog box (Scenario Groups pane > Virtual Users button ) right-click the Vuser and select Runtime Settings.

## View/Edit a script in VuGen

To view/edit a script included in your scenario, right-click the script and select View Script. The script opens in VuGen. For more information on editing scripts, see the information on debugging features in the VuGen Help Center.

## Specify command line options

You can specify command line options to use when running a script.

1. In the Scenario Groups/Scripts pane, right-click the script and select Details.

2. In the Group/Script Information dialog box that opens, if Command line is not displayed near the bottom, click More.

3. Enter a command in the command line, for example: `-x value -y value.`

## View rendezvous points included in the script

If there are rendezvous points included in the script, they are displayed in the Rendezvous tab. For details about rendezvous points, see Rendezvous points.

1. In the Scenario Groups/Scripts pane, right-click the script and select Details.

2. In the Group/Script Information dialog box, if the Rendezvous tab is not displayed near the bottom, click More.

## View Vusers associated with the script

The Vusers tab displays the Vusers associated with the script:

1. In the Scenario Groups/Scripts pane, right-click the script and select Details.

2. In the Group/Script Information dialog box, if the Vusers tab is not displayed near the bottom, click More.

## View files associated with the script

By default, the Files tab lists all the files in the script's folder (only after your script has been added to the script list). These files include the configuration settings file, the init, run, and end portions of the script, the parameterization definitions file, and the .usr file.

1. In the Scenario Groups/Scripts pane, right-click the script and select Details.

2. In the Group/Script Information dialog box, if the Files tab is not displayed near the bottom, click More.

3. To add a file to the list, click Add.

Example:

To run Visual C++ Vusers on a remote load generator, you must add the .dll of the Vuser to the list of files.

You can delete the files that you add, but not the other files listed.

https://admhelp.microfocus.com Professional Performance Engineering,VuGen 8942
Tips to improve your search results... OpenText™ Professional Performance Engineering Help Center OpenText™ Professional Performance Engineering Help 26.1-26.3 All View Local Help Center View Online Help Center Version: