Config Add Step in-Place Editing

A Config Add test command creates an IxLoad test configuration element.

To edit a Config Add test command:

  1. Select the Config Add step in the Test Steps table.
  2. Edit the step parameters as follows:
    • Session: This column displays the Built-In Event session name.
    • Return Variable: This column displays the name of a TestComposer composite variable whose only member contains the object reference of the newly added configuration element.
    • Command String: This column displays the Configuration Add command followed by the following strings:
      • select: An X-Path expression that corresponds to the IxLoad configuration element that is to be added.
      • 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.

      • type: The type of the selected child element.
      • attributes: A list of space-separated attribute-value pairs to be set on the configuration object that is being created.

Click into the column and then click the button that displays a drop-down pane as shown in Figure:Config Add GUI:

Figure:Config Add GUI

In the left pane, navigate the IxLoad configuration tree (which mimics the IxLoad Tcl API object hierarchy) and select an element under which you want to add an element.

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

From the right pane, select a child element that is appropriate for the currently selected configuration element; from its attributes list choose one or more attributes to be applied to the new element by selecting its (their) asssociated control(s), and configure them with the desired values.

Example:

Assuming we had the following   Config Add command

Config Add Built-In Event obj1 Configuration Add

select="/ixload/repository/test[1]/scenario[1]/

column[1]/element-NetTraffic[1]/traffic "

type="agent-HTTP_Client"

this would return into the obj1 variable the reference of the added HTTP activity element, configured with the cookiejar attribute