Share via


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)

Syntax

'Declaration
Public MustInherit Class WebTestRequestPlugin
'Usage
Dim instance As WebTestRequestPlugin
public abstract class WebTestRequestPlugin
public ref class WebTestRequestPlugin abstract
public abstract class WebTestRequestPlugin

Remarks

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.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.WebTestRequestPlugin

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

WebTestRequestPlugin Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace