Share via


WebTestResponse.Cookies Property

Gets the cookies associated with the response.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public ReadOnly Property Cookies As CookieCollection
public CookieCollection Cookies { get; }
public:
property CookieCollection^ Cookies {
    CookieCollection^ get ();
}
member Cookies : CookieCollection with get
function get Cookies () : CookieCollection

Property Value

Type: CookieCollection
A CookieCollection collection.

Remarks

Cookies set by the Web server are maintained by the test engine to be used throughout the entire Web performance test.

.NET Framework Security

See Also

Reference

WebTestResponse Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace

Other Resources

HTTP