Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Create Input Variables

Create Input Variables

Input variables are reusable parameters that you define when you configure a Step for a Test or a Test template. Input variables ensures that the same values are consistently used across different Steps, thereby eliminating the need to reconfigure the variables each time and minimizing the risk of discrepancies.

To create an input variable for a parameter:

  1. Configure the Test as described from Step 1 through Step 4.

  2. Click the Link icon next to the parameter field for which you want to create an input variable.

    A Create an Input Variable page appears.

  3. Specify the details for the input variable as described in Table 1.

  4. Click Save to save the input variable.

    The input variable you created is displayed as a Label-Name tag in the parameter field you are configuring.

Reuse Input Variables

To reuse input variables, you must first create input variables as described in Create Input Variables. You can reuse these existing variables when configuring any new Tasks and Steps.

  1. At the time of Test creation, select the Link icon next to the parameter field for which you want to use an existing input variable.

    A Select Variable page appears.

  2. Click the drop-down list icon in the Existing variables field.

  3. Select the desired variable from the list.

  4. Click OK.

    The input variable you selected is displayed as a Label-Name tag in the parameter field you selected.

Manage input variables

Once you create input variables for all the Steps, you can manage the input variables before executing the Test.

To manage input variables for a Test, click the Global icon on the right side of the Measurement Designers page and a Input Variables page appears with two tabs:

  • Edit Mode tab—In this tab, you can preview and manage the list of all the input variables you have defined for a Test. It gives you an overall view of variables ensuring consistency across the Test configurations. In the Edit mode, there are two sections:

    • Source section—In this section, you can:

      • Preview input variables—View the list of input variables with their label, type, and description.

      • Create new input variable—Create a new input variable by clicking the Add (+) icon and following the steps described in Create Input Variables.

      • Delete an input variable—Select and delete an input variable from the list. To delete an input variable, select the input variable that you want to delete and click the Delete (trash can) icon. A message is displayed asking for your confirmation. Click Yes and the input variable is deleted.

    • Target section—In this section, you can view the Steps, Tasks, and Parameters where you have applied the input variables listed in the Source section.

  • Run Mode tab—In this tab, you can edit the Test details and input variable details before executing a Test. It helps to dynamically update the parameters giving flexibility in Test execution. In Run mode tab, you can:

    • Add or edit Test details—You can add or edit the name and tags of the Test. You can update or add these details as needed.

    • Add or edit input variables—You can add values or edit the existing input variables configured while creating a Test.

Table 1: Fields in the Create an Input Variable page

Fields

Descriptions

Type

By default, the Type field is pre-populated. You cannot edit this field.

Label

By default, the Label field is pre-populated. However, you can edit the existing label name or specify a new label name for the parameter. 

Variable Name

By default, the Variable Name field is pre-populated. However, you can edit the existing variable name or specify a new variable name for the parameter. 

Group

Assign the variable to a group for better organization.

Unit

Specify the unit for the variable.

Description

Specify a description for the variable.

Allow Multiple

Enable the Allow Multiple toggle button to allow a Test to use multiple Test Agent interfaces.

The Allow Multiple field is displayed only if the specified Clients parameters involve interfaces.

Maximum

Set the maximum allowable value for the selected variable.

Minimum

Set the minimum allowable value for the selected variable. 

Plugin

By default, the Plug-in field displays the plugin on which you have configured the variable.