invokeNoopServlet("/servlet");
noSession = true; // 不要创建session,手工建cookies
initRequestContext("session_cookie");
// 伪造checksum cookie,数量不匹配
CookieSupport cookie = new CookieSupport("JSESSIONID", sessionID);
cookie.setDomain(".taobao.com");
cookie.setPath("/");
cookie.setMaxAge(10);
cookie.addCookie(newResponse);
cookie = new CookieSupport("myCookieStore0", myCookieStore0);
cookie.setDomain(".taobao.com");
cookie.setPath("/");
cookie.setMaxAge(10);
cookie.addCookie(newResponse);
cookie = new CookieSupport("myCookieStoresum", myCookieStoresum + "|hello");
cookie.setDomain(".taobao.com");
cookie.setPath("/");
cookie.setMaxAge(10);
cookie.addCookie(newResponse);
requestContexts.commitRequestContext(requestContext);
commitToClient();
// check new added cookie