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::Outcome Property
Gets or sets the Pass or Fail outcome of the Web performance test request.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Property Value
Type: Microsoft.VisualStudio.TestTools.WebTesting::OutcomeThe outcome of the Web performance test request.
The primary reason to set WebTestRequest.Outcome is to ignore an expected failure so that the WebTestRequest is marked as Passed despite the expected failure.
If your Web performance test code sets the Outcome of a WebTestRequest, it should do so in a PostRequest event handler. If you set it earlier, the Web performance test runtime engine might override the value that you set.
Show: