Generating CSV Files
You can generate a .csv file via StatViewer for specific views. You can make this request anytime while a test is running. You can enable or disable CSV generation individually for each StatViewer view and add a .csv file dynamically while a test is running. CSV file generation can handle the statistics that are added or removed from the view while the test is running. You can also specify the frequency of CSV logging on a per-view basis.
To set the CSV properties from the StatViewer main window:
- Select the group or view for which you want to set the properties.
If you select a group node, you can enable CSV logging directly from the menu. For a group, the Properties option is not available.
If you select a view, you can enable CSV logging either from the menu or by selecting Properties.
- Select Properties. The View Properties window opens.
- Select CSV Logging from the View Properties window.
You can now enter the CSV logging properties:
- Enable CSV Logging. Select this check box to enable CSV logging for the particular view. This can also be enabled for all views directly from the menu (StatViewer >Options).
- New CSV on toggle. Select this check box to store the data in a new CSV file every time you toggle the Enable CSV Logging option.
- Polling Interval Multiplier. This field indicates how often the statistics group is collected, in seconds (s), from the test port. It is recommended that you set intervals that are no more than 10 percent of the test run time to ensure that enough data is collected to create accurate results. The Polling Interval Multiplier value also affects the amount of time that your application waits at the end of the test to collect final statistics. The Polling Interval Multiplier value must be less than or equal to the total time of the longest running traffic network pair.
- CSV File Name. In this field you can specify the destination folder where the .csv files are written. You can see the results in the viewer associated with .csv files.
After the properties are set, StatViewer generates .csv files.