Export (0) Print
Expand All

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, then 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 tests that dynamically generate Web test requests with different URLs on each Web 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 tests that generate numerous unique requests. In that case, users can use transactions to group similar requests.

Community Additions

ADD
Show:
© 2014 Microsoft