You *must* define your test data in your ServletTestCase (in the
beginXXX() method).

-Vincent

> -----Original Message-----
> From: Patwa, Priyank (Cognizant) [mailto:[EMAIL PROTECTED]
> Sent: 28 November 2003 09:31
> To: Cactus Users List
> Subject: CactusStrutsTestCase...request object use in Tesst code
> 
> Hi All,
> 
> I am Using Cactus StrutsTestCase with WAS 4.0 and struts 1.0 and
> strutstest-2.0.0.jar.
> 
> well for the problem i had recently posted ...i will describe it again
> 
> I want to run the action perform for different forwards which are
> different acording to a GSMId
> 
> 
> so can i have the value given in the url like
> 
>
http://localhost:9080/disability/ServletTestRunner?suite=TestClaimLandin
gG
> enric&GSMID=11
> 
> 
> 
> and then i get this value using request.getParameter("GSMID")
> 
> 
> 
> i can then use this value to get the corresponding forward using this
> string as a key from a property file.
> but i am unable to get this value from the request...
> is there any for this or it is not possible?
> 
> Thanx & Regards,
> Priyank Patwa.
> Cognizant Technology Solutions India Pvt. Ltd.
> Infotech Park,
> Hinjawadi,
> Pune 411027,
> India.
> Ph. 2931100 extn: 2476
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to