PostWebTestRecordingEventArgs.RecordedWebTestResult Property

Gets a reference to the WebTestResultIteration object that contains all details of the HTTP requests and responses that occurred during the recording session.

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

public WebTestResultIteration RecordedWebTestResult { get; }

The WebTestResultIteration object includes some requests, that are not recorded into the declarative Web performance test, such as dependent requests and redirect requests. Requests and responses also include all headers and cookies sent during recording event, although some of these are not recorded in the generated declarative Web performance test.

Note that the types of Web performance test result objects that will be found in the WebTestResultIteration object returned here are a subset of the types that are defined for the WebTestResultIteration class, namely WebTestResultPage objects and the WebTestRequestResult objects they contain, and WebTestResultComment objects. Other Web performance test result objects that are related to transactions will not be found in this WebTestResultIteration object because they are not recorded, such as any included Web performance tests and loops.

Community Additions