Cookie Testing

March 06 15:30 2011 Print This Article

Cookie is a piece of information which is passed between web pages stored on server.Often personal information like login credentials are stored.So cookie testing is part of security testing.

Here are some of the test cases

1)Test if sensitive information is stored in cookie.

2)Remove cookies

In mozilla
-Right click,Select View Page Info
-Go to Security Tab,Click on View Cookies
-Remove one or more cookies
-Go to Internet options->General tab->Browser history settings button->View files,where you can delete cookie files which are website specific eg:

3)Disable cookie

In mozilla
-Go to Tools->Options->Privacy
-Select dropdown Firefox with’User custom settings for history’
-Uncheck Accept cookies from sites option.
-Go to Internet Options->Privacy tab
-Select a setting for Internet Zone->High

4)Test cookie in different browsers.

5)Corrupt cookies

Install add-ons for editing cookies
Mozilla cookies are stored in cookies.txt in ~\Mozilla\Firefox\Profiles\j72pd7xa.default\cookies.sqlite
These add-ons help to edit,delete and various actions on cookies

6)Change USERID and check if any other user’s information is revealed or not.


Related Posts:

About Article Author

view more articles
Nataliia Vasylyna
Nataliia Vasylyna

View More Articles