Configuring the temporary storage location used by the agents
By default, project files are stored in the temporary folder for the username who is running the HCL OneTest™ API Agent. In a few scenarios, however, the temporary folders might get cleaned up by automated processes, for example, when a stub stops running. To avoid losing data, you can change the default setting.
About this task
Procedure
- Open the Agent.config file, which
is in the following directory:
- product-installation-directory\config
- product-installation-directory/config
- In the
<rtcp>
section, uncomment the temporaryFiles element and edit the dir attribute to point to a suitable location.For example:-
<temporaryFiles ="C:\agentTemp" />
-
<temporaryFiles ="/opt/agentTemp" />
-
- Save and close the file.
- Start the agent:
Results
The temporary storage location used by the HCL OneTest™ API Agent is updated.