WebTestRequest::RecordResult Property
Gets or sets a value that indicates whether individual statistics and result data are tracked for this request.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
public: [DefaultValueAttribute(true)] property bool RecordResult { bool get(); void set(bool value); }
Property Value
Type: System::Booleantrue 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.