> -----Original Message----- > From: Matt Raible [mailto:[EMAIL PROTECTED]] > Sent: 11 December 2002 22:05 > To: 'Cactus Users List' > Subject: RE: Setting up request correctly > > Hmmm, maybe if I could spell "begin" correctly this would've worked > nicely! Too bad it took me 2 hours to figure that out! Arrgghhh. > > Another question: > All this servlet does is redirect to the specified authURL in it's > config - how can I test for this in testExecute or endExecute?
That means that you are unit testing this redirection. To know if the redirection was successful you simply need to test 2 things in endExecute(): - that the HTTP response code was 302 - that the page that it is being redirected to is the correct page -Vincent [snip] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
