Hi, StrutsTestCase documentation says we can test multiple Actions in same method, by calling setRequestPathInfo() and actionPerform() multiple times within the same method. I am also calling clearRequestparameters() after every perform method. But I am unable to execute the second Action.
Below is my code : addRequestParameter("j_username", "rkulkarni"); addRequestParameter("j_password", "webconnect"); addRequestParameter("mode", "q1Ra04kE3cDo"); setRequestPathInfo("/login"); actionPerform(); // I am able to execute till here this.clearRequestParameters(); setRequestPathInfo("/authenticateUser"); // unable to execute actionPerform(); this.clearRequestParameters(); setRequestPathInfo("/logout"); actionPerform(); this.verifyForward("logoutsuccess"); } TIA, Ravi kulkarni.