Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the expected URL of the response. When a redirect is expected, this URL might differ from the request URL.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Property ExpectedResponseUrl As String
'Usage
Dim instance As WebTestRequest
Dim value As String
value = instance.ExpectedResponseUrl
instance.ExpectedResponseUrl = value
public string ExpectedResponseUrl { get; set; }
public:
property String^ ExpectedResponseUrl {
String^ get ();
void set (String^ value);
}
public function get ExpectedResponseUrl () : String
public function set ExpectedResponseUrl (value : String)
Property Value
Type: System.String
Remarks
The value of ExpectedResponseURL is used by the "Response URL" validation rule. The "Response URL" validation rule validates that, during the Web test run, redirects occur if and only if they are expected.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.