The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebTestRequest.RecordResult Property


Gets or sets a value that indicates whether individual statistics and result data are tracked for this request.

Namespace:   Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

public bool RecordResult { get; set; }

Property Value

Type: System.Boolean

true if statistics and result data are tracked; otherwise, false. The default value is true.

If this is set to false, this request does not appear in the load test Monitor/Analyzer in the Performance Counter Tree or in the Requests or Pages tables. This setting is primarily useful for coded Web performance tests that dynamically generate Web performance test requests with different URLs on each Web performance test iteration. In this case, you do not want separate page and request performance counters for each request. Therefore, you can set the RecordResult property to false and define a transaction with a fixed name to track the performance of the related requests.

In other words, this might have to be turned off for Web performance tests that generate numerous unique requests. In that case, users can use transactions to group similar requests.

Return to top