Hi, I have just started using cactus and am running with some issues. I am having three methods: setUp() beginValidation(ServletTestRequest theRequest) testValidation() In setUp() method, I am creating a customer and putting in the database. Now , I need this customerID as requestParameter for my testValidation() method. How, can I set the request object so that it is available to me in the testValidation method. I tried putting theRequest.addparameter( "id", <customerid> ) in beginValidation but since setUp is executed after begin method, the value is null. I also tried setting request.setAttribute( "id", <customerid> )in setUp method. But, if I do request.getParameter( "id" ), in test method, I get null. Also, tried in setUp method() ServletTestRequest theRequest = new ServletTestRequest(); theRequest.addParameter( "id", <customerid> ); But, this also didn't help. Please tell me how can I retrieve the value obtained from setUp method as a request parameter in my test method. Thanks in advance, Suprigya _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
