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 DevOps Test Integrations and APIs Agent (Test Integrations and APIs 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

Configure the temporary storage location used by the Test Integrations and APIs Agent as follows:

Procedure

  1. Open the Agent.config file, which is in the following directory:
    • For Windows. product-installation-directory\config
    • For Linux. product-installation-directory/config
  2. In the <server> section, uncomment the temporaryFiles element and edit the dir attribute to point to a suitable location.
    For example:
    • For Windows. <temporaryFiles ="C:\agentTemp" />
    • For Linux. <temporaryFiles ="/opt/agentTemp" />
  3. Save and close the file.
  4. Start the agent:

Results

The temporary storage location used by the Test Integrations and APIs Agent is updated.