[jboss-dev-forums] [Design of JBoss internal QA (Test Suite)] - test case for cookie

prabhat.jha@jboss.com do-not-reply at jboss.com
Thu Nov 2 17:21:42 EST 2006


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.

Regards,
Prabhat

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982793#3982793

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982793



More information about the jboss-dev-forums mailing list