Defining Input Parameters

An IxLoad TestComposer script can have associated input parameters that represent run-time arguments passed to the script when executed from the IxLoad Quick Tests configuration page. Input script parameters are similar to variables in that they can be used in script steps for creating conditional expressions assigned to flow control steps.

Input parameters are only available for shared scripts. For QTC tests they are disabled.

Script parameters defined in the Parameters window can be assigned default values, such that a script can be run without specifying runtime parameters, but using the default values.

To specify input and output script parameters:

  1. Click the Test Parameters button from the Test ribbon.
  2. Define an output parameter by choosing a return type (None, String, Numeric, or Composite) and optionally a default value. Procedure output parameters are also persisted when saving a procedure, or when exporting it.
  3. String and Numeric output parameters support the defining of default values, whereas no default values can be specified for composite variables.

  4. Define the input parameters by clicking the button to add a new parameter, then specify it by editing the entry in-place according to the information provided in Table:Input Parameters Information.
  5. Table:Input Parameters Information 

    Field
    Description
    Parameter Name
    The parameter name.
    Parameter Type
    The type of the parameter, String, Numeric, or Composite.
    Default Value
    The default script value. When no arguments are passed to the script from within IxLoad, then the default value of the parameter is used.
    Description
    This is an optional parameter description.

  6. Repeat step #3 to add more input parameters.
  7. Eventually, click the Ok button to close the Parameters window.


      An existing parameter entry can be removed by clicking the button.

      The parameters order can be changed by selecting a parameter entry and moving it up or down using the buttons.