Search This Blog

Tuesday, 16 October 2018

Visual Studio TC and TA timeout settings


Visual Studio TC and TA timeout settings



Controller:

Following changes done: (If you decide to make the changes, please STOP the controller service)
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\QTController.exe.config
    <add key="AgentConnectionTimeoutInSeconds" value="300"/>
    <add key="AgentSyncTimeoutInSeconds" value="300"/>
      <add key="AgentCleanupTimeout" value="1000"/>

Key name
Description
Value
AgentConnectionTimeoutInSeconds
Number of seconds to wait for agent ping request before connection is considered lost.
"n" seconds.
AgentSyncTimeoutInSeconds
When you start a synchronizing test run, number of seconds to wait for all agents to sync before aborting the run.
"n" seconds.
AgentInitializeTimeout
Number of seconds to wait for all agents and their data collectors to initialize at the beginning of a test run, before aborting the test run. This value should be reasonably large if using data collectors.
"n" seconds. Default: "120" (two minutes).
AgentCleanupTimeout
Number of seconds to wait for all agents and their data collectors to clean up, before completing the test run. This value should be reasonably large if using data collectors.
"n" seconds. Default: "120" (two minutes)



Agent:
Following changes done: (Restart the agent service in order for the changes to take effect)
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE
If changes are applicable depending on what type of test you run and 32/64 bit bit.
Microsoft recommends changes to the following configurations, I have mainly done the change to the ones that are required in our environment - QTAgent.exe.config  & QTAgent_40.exe.config
<add key="StopTestRunCallTimeoutInSeconds" value="600"/>
    <add key="GetCollectorDataTimeout" value="600"/>
  • QTAgent.exe.config
  • QTAgent_35.exe.config
  • QTAgent_40.exe.config
  • QTAgent32.exe.config
  • QTAgent32_35.exe.config
  • QTAgent32_40.exe.config
Key name
Description
Value
ControllerConnectionPeriodInSeconds
Number of seconds between attempts to connect to the controller.
"n" seconds. Default: "30" (thirty seconds).
RemotingTimeoutSeconds
Maximum time a remoting call can last in seconds.
"n" seconds. Default: "600" (ten minutes).
StopTestRunCallTimeoutInSeconds
Number of seconds to wait for call to stop the test run.
"n" seconds. Default: "120" (two minutes).
GetCollectorDataTimeout
Number of seconds to wait for the data collector.
"n" seconds. Default: "300" (five minutes).


No comments:

Post a Comment