[Description("Adds a cookie to the webtest cookie collection for this test and all of its requests.")]
publicclassAddTestSessionCookie:WebTestPlugin
{
[DisplayName("Cookie Name"),DefaultValue(""),Description("Name of the cookie to set.")]
publicstringCookieName{get;set;}
[DisplayName("Cookie Value"),DefaultValue(""),Description("Value of the cookie to set.")]
publicstringCookieValue{get;set;}
[DisplayName("Cookie Value Parameter Name"),DefaultValue(""),Description("Parameter for the cookie value. If the parameter is not found, the Cookie Value will be used instead.")]
publicstringCookieParameter{get;set;}
[DisplayName("Cookie Path"),DefaultValue("/"),Description("Path for the cookie to set. Cookie will only be sent if the URL Path matches.")]
publicstringCookiePath{get;set;}
[DisplayName("Cookie Domain"),DefaultValue(""),Description("Domain for the cookie to set. Cookie will only be sent if the host name matches.")]
publicstringCookieDomain{get;set;}
[DisplayName("Skip URL Encode"),DefaultValue(false),Description("By default the cookie value is URL Encoded for transfer. This will turn it off.")]