0 Replies Latest reply on Nov 2, 2006 5:21 PM by Prabhat Jha

    test case for cookie

    Prabhat Jha Master

      Currently we don't have a test case to test that server is setting the cookie correctly. I am going to add CookieUnitTestCase in Branch 4.0 that verifies that cookies are getting set as per RFC2109. The bug description at http://issues.apache.org/bugzilla/show_bug.cgi?id=36863 prompted the need for this test case. My test case does the following:

      1. Calls a servlet that sets different kinds of cookies (with and without space, with comma, cookie with expriation time)
      2. Client retrieves the cookies and verifies that cookies are getting retrieved as set by server.