Hi Siva, Cactus will automatically create a session before proceeding with the execution of the test (unless you turn that feature of with WebRequest.setAutomaticSession(false)).
Now, logging has different meaning for different applications. Usually it means putting a value in the Session object. Thus in your testXXX() method (or setUp() one if you want that for all tests) you would put that value in the Session. Basically what I am saying is that Cactus is a unit testing framework. It is not about testing conversations. There is an entry in the FAQ about this: http://jakarta.apache.org/cactus/faq.html#faq4 Hope it helps, -Vincent > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: 08 August 2002 15:22 > To: [EMAIL PROTECTED] > Subject: How to retain the session id? > > I want every cactus testcase to login to the system before proceeding to > the execution of the test case. The problem is that unless it logins to > the system, it does not get the session id. Please let me know how this > can be done in Cactus. I could not find a way to assign a session id to > the WebRequest. > > Thanks, > Siva -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
