How to set the autoRedirect and autoRefresh in httpunit

"zhao dean" <[email protected]>
Newsgroups gmane.comp.web.httpunit.devel
Message-ID <[email protected]>
Hi,

My question is How to set the autoRedirect and autoRefresh in httpunit.

Id like to take an example:

When go to 
http://www.qa.ehealthinsurance.com/ehi/CarrierP

You first land at a 404 not found page. And 6 seconds later, you are 
forwarded to http://www.qa.ehealthinsurance.com/.
So http://www.qa.ehealthinsurance.com/. Is the final response from server 
for http://www.qa.ehealthinsurance.com/ehi/CarrierP


However, When using httpunit, I am always get a 404 not found exception, 
and thus not able to get to the final response when tried manually. 
Could any kind guys show me the example code to get the final response (the 
response after being redirected/refreshed)? 

Many thanks,

Thanks,

_________________________________________________________________
涓扮杩琛浜ゆ锛璐逛杞 MSN Messenger:  
http://messenger.msn.com/cn 



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.