Different Config Files for Test Agent

3
Different Config file for Test Agent There are three different config files for configuring the parameters of the testAgent. QTAgent.exe.config This file contains appSettings for the agentService. CreateTraceListener: process creates trace log file in installation directory. Default: yes, override with "No". EnableTestExecutionEventLogTracing: process writes errors to the event log. Default: yes, override with "No". StopTestRunCallTimeoutInSeconds: How long the agent will wait for adapter to return from StopTestRun call. DataCollectorDiscoveryPeriodInSeconds: Number of seconds delay between the time a new data collector assembly is added and the time it is discovered. MinimumSizeDataCollectorEventThreadPool: The minimum number of threads allocated by the agent to perform actions in parallel on data collectors. Default is 1. MaximumSizeDataCollectorEventThreadPool: The maximum number of threads allocated by the agent to perform actions in parallel on data collectors. Default is 5. DataCollectorInitializationTimeoutInSeconds: How long the agent will wait for all data collectors to initialize. Default is 60. DataCollectorEventTimeoutInSeconds: How long the agent will wait for an event raised to all data collectors to complete. Default is 300. DataCollectorCleanupTimeoutInSeconds: How long the agent will wait for all data collectors to dispose. Default is 60.

Transcript of Different Config Files for Test Agent

Page 1: Different Config Files for Test Agent

Different Config file for Test AgentThere are three different config files for configuring the parameters of the testAgent.

QTAgent.exe.config

This file contains appSettings for the agentService.

CreateTraceListener: process creates trace log file in installation directory. Default: yes, override with "No".

EnableTestExecutionEventLogTracing: process writes errors to the event log. Default: yes, override with "No".

StopTestRunCallTimeoutInSeconds: How long the agent will wait for adapter to return from StopTestRun call.

DataCollectorDiscoveryPeriodInSeconds: Number of seconds delay between the time a new data collector assembly is added and the time it is discovered.

MinimumSizeDataCollectorEventThreadPool: The minimum number of threads allocated by the agent to perform actions in parallel on data collectors. Default is 1.

MaximumSizeDataCollectorEventThreadPool: The maximum number of threads allocated by the agent to perform actions in parallel on data collectors. Default is 5.

DataCollectorInitializationTimeoutInSeconds: How long the agent will wait for all data collectors to initialize. Default is 60.

DataCollectorEventTimeoutInSeconds: How long the agent will wait for an event raised to all data collectors to complete. Default is 300.

DataCollectorCleanupTimeoutInSeconds: How long the agent will wait for all data collectors to dispose. Default is 60.

CopyResultFilesTimeoutInSeconds: How long the agent will wait for result files to be reverse deployed at the end of a run. Default is 120.

LogSizeLimitInMegs: Maximum allowable size of log file, 0 allows size limited by disk space.

Page 2: Different Config Files for Test Agent

There are two different config files for the agent depending upon it is configured as a service or a process.

QTAgentService.exe.config

This contains the parameters related to the agent configured as a network service

This contains various parameters which can be configured in QTAgent.exe.config and some extra parameters also

WorkingDirectory: Base directory for staging and temporary files

CreateTraceListener: Service creates trace log file in installation directory. Default: yes, override with "No"

EnableTestExecutionEventLogTracing: Process writes errors to the event log. Default: yes, override with "No"

AgentServicePort: TCP port used by Agent Service

ControllerConnectionPeriodInSeconds: Number of seconds between attempts to connect to the controller

StopTestRunCallTimeoutInSeconds: How long the agent service will wait for Agent Process to exit from StopTestRun call

LogSizeLimitInMegs: Maximum allowable size of log file, 0 allows size limited by disk space.

BindTo: The IP address of the NIC in which to bind for communication

AlwaysUseMachineName: Determines whether clients of the agent service should always use the controller computer name when communicating with it. Default: no, override with "Yes"

RemotingTimeoutSeconds: Maximum time a remoting call can last in seconds (default 10 minutes).

Page 3: Different Config Files for Test Agent

QTAgentProcessUI.exe.config

This file contains the configuration parameters for the test agent when it is configured as Process. The settings parameters are similar to those in the QTAgent.exe.config file.

CreateTraceListener: Service creates trace log file in installation directory. Default: yes, override with "No".

LogSizeLimitInMegs: Maximum allowable size of log file, 0 allows size limited by disk space.