Contributions
Re: How do I set assertion for Set-Cookie in the response header
Thanks Ole. Is it possible to add a wild card to this? For example, there is a date string (the cookie expires on...). I don't really care what the date is so it's OK to just replace it with a wildcard. So the whole cookie looks like this: MATCH=%7B%22mmUser%22%3A%22mmuser${Properties#number}%22%2C%22mmOpenId%22%3A%22OpenID${Properties#number}%22%7D; Domain=.xxx.net; Expires=Sun, 15-Mar-2009 14:02:46 GMT; Path=/ And I want to search for: MATCH=%7B%22mmUser%22%3A%22mmuser${Properties#number}%22%2C%22mmOpenId%22%3A%22OpenID${Properties#number}%22%7D; Domain=.xxx.net; Expires=*1.7KViews0likes0CommentsRe: How do I set assertion for Set-Cookie in the response header
Thanks, Ole. Works great except that I want to check for a variable within the cookie. For example, "MyValue=somedata${Property#propertyName}somemoredata" In other words, each each time I run this the cookie value changes dependent on a property I send to the request. Is that possible?1.7KViews0likes0CommentsHow do I set assertion for Set-Cookie in the response header
I need to create an assertion to check that a value exists in the Set-Cookie of the response header. HTTP/1.1 200 OK Date: Thu, 11 Sep 2008 15:34:32 GMT Transfer-Encoding: chunked P3P: Custom Header Value: policyref="<>", CP="NOI ADM DEV PSAi OUR STP IND DEM" Set-Cookie: MyName=MyValue; I want to set an assert to verify "MyValue" is set correctly. How do I do that?4.1KViews0likes6Comments