Problem Description:

If you run the load test and you abort it in between, then result does not show the correct information.

Symptom

Visual Studio Load Test losing transaction timings issue if abort the test.

Resolution

1) In C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\QTAgent *.exe.config            

Add

<add key="StopTestRunCallTimeoutInSeconds" value="600"/>

<add key="DataCollectorCleanupTimeoutInSeconds" value="600"/>

in <appSettings> section.

Caution: There are several QTAgent*.exe.config files. Hence, to be safe; please update these entries in all the following config files:

QTAgent.exe.config

QTAgent_35.exe.config

QTAgent_40.exe.config

QTAgent32.exe.config

QTAgent32_35.exe.config

QTAgent32_40.exe.config

2)  Restart the TestAgents.

3) On Controller side, there is a config called “AgentCleanupTimeout” present in C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\QTController.exe.config, which controls the timeout from controller side. Please set this value to 1000.

Written by: Deepak Mittal, Support Escalation Engineer

Reviewed by: Teodora Stanev, Senior Escalation Engineer