Specifying Exported Statistics
For a TestComposer script you can specify the statistics that are exported by it, either to the IxLoad StatViewer module or to output files that are associated by default with the Composer script.
The TestComposer statistics to be exported can be selected from local script variables, or from targets defined within Response Templates that are associated with script steps. Global variables created using the ReadWriteGlobal command can also be exported.
Please note that exported TestComposer statistics must be selected from the set of statistics visible at the end of the main script body in order to be available for the creation of trend reports. Statistics that are local to procedures are temporary statistics and as such are not visible at the end of a script.
As such, if you wish to export such local statistics, you need to define them within the procedure body using ReadWriteGlobal commands.For each additional IxLoad QuickTest that is executed from IxLoad GUI or is called by the Main_Script, an additional view is created in the Test Composer folder if the QuickTest exports statistics.
When exported to files attached to the test script, the PassFailStats.csv and PassFailStats.xml output files are created.
When a script is run as an IxLoad custom test, these attached script files are saved to the IxLoad host and can be accessed from the IxReporter plug-in of IxLoad, as described in IxReporter Results Display.
When a script is exported from IxLoad to Test Conductor TestComposer, these files are preserved and are being created for every script run.To define the script-exported statistics:
For variables of the Composite type you need to expand the members list by clicking the
button preceding the variable name, then select the member(s) to be exported.
For each exported variable other than variables of the Composite type, specify its type as one of the following: Numeric, String, Numeric List, or String List.
For some exported variables you might have to explicitly change their type, such as for example in the case of variables that actually represent a numeric list but whose Tcl representation is that of string, which requires a change from String to Numeric List.
The type of composite variables, that represent response templates targets or variables retrieved from IxLoad StatQuery commands, cannot be changed from the Exported Stats window, but only from the Response Template definition window.For more information on variables, refer to About Variables.
TestComposer statistics (up to 50 ) that were selected for export to IxLoad StatViewer can be displayed in default views of the TestComposer folder. If you selected more than 50 exported statistics, the rest will be available for display in user-defined statistics views under the Custom Views folder. For detailed information on the rendering of TestComposer statistics in StatViewer, refer to the StatViewer User Guide that is shipped with IxLoad.
IxLoad TestComposer │ User Guide |