When running a test why do I receive the error "Virtual user error - Runtime: 93 - error calculating file length for random file < <SomeFile.csv> > "?
This indicates that the data file is being called incorrectly, does not exist in the location specified or contains no data. To resolve this issue:
- Make sure the file name is spelt correctly in the script and does not contain any reference to the path. e.g. "somefile.csv" - correct "c:\data\somefile.csv" - wrong
- Make sure the file has been added to the Project data files
Right-click on DATA FILES in the SilkPerformer Project pane Select ADD DATA FILE Browse to the file and select it.
- Store the data file in either the same folder as the Project scripts or in the SilkPerformer Data folder. The default SilkPerformer data folder can be checked under:SETTINGS | SYSTEM | WORKBENCH | DIRECTORIES | USER DATA FILES
- Make sure the data file contains data. Empty data files cause problems when SilkPerformer attempts to estimate the size.