WebTestRequestPlugin Class
Receives notifications before and after a request is processed.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Microsoft.VisualStudio.TestTools.WebTesting::WebTestRequestPlugin
Microsoft.VisualStudio.TestTools.WebTesting.RequestPlugins::DateTimeWebRequestPlugin
Microsoft.VisualStudio.TestTools.WebTesting.RequestPlugins::SPLTPT_MTSL_ResolveNestedContextParms
Microsoft.VisualStudio.WebTesting.PowerTools.SharePoint.MTSL.General::SPLTPT_MTSL_SetContextParameterValue
| Name | Description | |
|---|---|---|
![]() | WebTestRequestPlugin() | Initializes a new instance of the WebTestRequestPlugin class. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | PostRequest(Object^, PostRequestEventArgs^) | When overridden in a derived class, this method is run every time a request finishes before dependent requests are run. This allows the callback to obtain runtime information about the request. |
![]() | PreRequest(Object^, PreRequestEventArgs^) | When overridden in a derived class, this method allows outside code to affect the request. |
![]() | PreRequestDataBinding(Object^, PreRequestDataBindingEventArgs^) | |
![]() | ToString() | (Inherited from Object.) |
Classes that are 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.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

