jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: Same session tests
Date Thu, 03 Jul 2003 07:39:03 GMT


> -----Original Message-----
> From: Anil Agrawal [mailto:a.agrawal@popnet.co.in]
> Sent: 03 July 2003 07:28
> To: Cactus Users List
> Subject: RE: Same session tests
> 
> No Martijn,
> 
>   I am just sharing my view.
> 
>   I found cactus very helpful in my jsp tag testing, servlets as well
as
> EJB'S.
> 
>   It is really cool tool.
> 
>   Every system has a scope of improvement, so as a cactus family
member
> I am

true but the focus is not on transforming Cactus to be a functional
testing tool at the moment... :-). It is on improving usability, adding
EJB redirectors, etc (see todo page on the web site).

-Vincent

> 
>   giving my feedback.
> 
> With regards
> anil
> 
> 
> 
> -----Original Message-----
> From: Verburg, Martijn [mailto:Martijn.Verburg@NBNZ.CO.NZ]
> Sent: Thursday, July 03, 2003 10:52 AM
> To: 'Cactus Users List'
> Subject: RE: Same session tests
> 
> 
> Hi Anil,
> 
> I am assuming that english is your second language (it is mine also),
> but the way your post is worded makes it seem like that you are
> demanding for functionality in Cactus.  As Cactus is a _volunteer_
> project, this probably comes across as quite rude and you therefore
may
> not get the response you are looking for 8-).
> 
> Cheers,
> 	Martijn
> 
> -----Original Message-----
> From: Anil Agrawal [mailto:a.agrawal@popnet.co.in]
> Sent: Thursday, 3 July 2003 5:08 p.m.
> To: Cactus Users List
> Subject: RE: Same session tests
> 
> 
> Hi Scott,
> 
>   We are sailing in the same boat.
> 
>   I also requested vincent many times that we must have a facility by
> which
> 
>   once a attribute is set in session It should not be remoce from
> session
> 
>   unless explicitly removed from session.
> 
>   Session Management is very costly per method.
> 
> With regards
> anil
> 
> 
> 
> -----Original Message-----
> From: Parmley, Scott C. [mailto:sparmley@p2es.com]
> Sent: Thursday, July 03, 2003 3:39 AM
> To: cactus-user@jakarta.apache.org
> Subject: Same session tests
> 
> 
> Hello all,
> 
> I have an issue I need some advice on.  I have finally been able to
put
> together a cactus test that examines an HttpSession.  I am using
> RequestDispatcher to forward a request to an XSP page.  The page does
> some work and populates a session variable with an object.  Here's my
> quandary:
> 
> I must perform a series of tests in order.  The first part to be done
is
> logging in.  This, as I mentioned before, populates a session variable
> with an object.  The next test, which is not logging in, is dependent
on
> the use of the same session as was used in the first test.
> 
> What I have noticed is that if I write a test class that contains more
> than one test (i.e.    testXXX()   testYYY()  ), they utilize
different
> sessions for each test.  Is there a way to write a test class such
that
> each subsequent test uses the same HttpSession?
> 
> 
> Thanks in advance,
> -Scott
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> This communication is confidential and may contain privileged
material.
> If you are not the intended recipient you must not use, disclose, copy
> or retain it. If you have received it in error please immediately
notify
> me by return email and delete the emails. Thank you.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



Mime
View raw message