Config Set Command Step In-Place Editing

A Config Set command modifies the value of an IxLoad test configuration element.

To edit a Config Set test command:

  1. Select the Config Set step in the Test Steps table.
  2. Edit the step parameters as follows:
    • Session: This column displays an Built-In Event session type.
    • Return Variable: No return variable needs specified for this command.
    • Command String: This column displays Configuration Set string, followed by an X-Path expression that corresponds to the IxLoad configuration element whose value is to be set (inside a select statement), an attribute and the configured value (inside a set statement).

In addition to the X-Path notation, the select statement also supports the notation that is used by the IxLoad Tcl API, whereby a configuration element is specified using an expression composed of the tree path, an ":" string, and an element index. For example, the "/traffic/trafficItem[2]" expression could be rewritten using the "/traffic/trafficItem:6" specifier, which illustrates the fact that the X-Path index and the Tcl API index referencing an entity of a configuration element are not necessarily the same.

You can modify it directly in the GUI by selecting the element, an attribute of that element and editing the attribute value.

Alternatively, click into the column and click the button displaying a drop-down pane as shown in Figure:Config Set GUI:

Figure:Config Set GUI

In the left pane, navigate the IxLoad configuration tree (which mimics the IxLoad Tcl API object hierarchy) and select the element whose value you wish to set. To quickly locate an element in the tree, enter its name in the Search field at the top of the pane and click the adjoining button.

From the middle pane select the instance of the element currently active in the left pane.

From the right pane, which displays all attributes of the current element instance, choose an attribute by clicking its associated control, then click in the adjacent field and choose an attribute value. Alternatively define an attribute value using a TestComposer variable.

Example:

Assuming we had the following Config Set command:

Config Set Built-In Event Configuration Set select="/

ixload/repository/test[1] "

set="enableNetworkDiagnostics true"

this would set the enabled attribute for the arp protocol element specified by the select statement to the True value.