WebTestRequestPlugin Class
Receives notifications before and after a request is processed.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in microsoft.visualstudio.qualitytools.webtestframework.dll)
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in microsoft.visualstudio.qualitytools.webtestframework.dll)
Classes derived from WebTestRequestPlugin can access the WebTest and WebTestRequest from the PostRequest and PreRequest event handlers. Additionally, the WebTestResponse can be accessed by using the PostRequest event handler.
This class must be inherited to access the functionality.
Notes to Inheritors When you inherit from WebTestRequestPlugin , you must override PostRequest and PreRequest.