PDA

View Full Version : JUnit, Session Tracking


kiran kumar
Sep 1st, 2005, 09:22 AM
I am new to JUnit, i am testing a website with user name, password;
i would like to know if there is a way to keep track of session so that i
can test the later pages also. Should i use HttpUnit or Jwebunit ?Any help would be aprreciated.

jdubchak
Sep 2nd, 2005, 08:23 PM
Should i use HttpUnit or Jwebunit

Take a look at Cactus (http://jakarta.apache.org/cactus/) it has everything you need to perform in-container testing using JUnit.

You may also want to consider picking up the following book, JUnit in Action (http://tinyurl.com/b9gd9), the 2nd part of which covers testing J2EE Applications in a tutorial like fashion.

HTH,
John