Calling Data file from Temporary Results directory on Remote Agent, using ProcessInitialize, fails

Calling Data file from Temporary Results directory on Remote Agent, using ProcessInitialize, fails

Upon a remote agent machine during a load test execution or TryAgent test, a temporary folder called LocalData_* is created which will house, temporary project files, including .bex and .ltp files. The folder's location is, C:\Users\Public\Public Documents\Silk\Silk Performer 18.5.

When the tests have completed, the folder is cleared and removed from the system.

In prior versions of Silk Performer (pre 18.0 and 18.5), when a data file was added to the project via the Data files section.

That file too was also transferred to the temporary directory upon the agent machine.

It meant that when logic was included within the script using the Process Control functions, ProcessInitialize() and ProcessStart(), the temporary data file could be successfully called and utilized during test execution:

Due to a change of approach in recent versions for caching data files on agents, the data file was not transferred to the temporary LocalData_* folder. Meaning the use of the above logic would fail, as the file did not exist.

With the application of hotfix 3 for Silk Performer 18.5, a version of the data file is now available once again within the temporary LocalData_* folder upon the remote agent system.

Therefore including logic such as the example above within your script (GetDirectory / Process Control functions), that intentionally call a data file from temporary folder on an agent machine, will now succeed.


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2018-04-30 23:33
Updated by:
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.