[Httpunit-develop] Problem with content type
Brought to you by:
russgold
From: Dos S. <new...@ya...> - 2002-03-05 22:15:35
|
I'm just getting started with httpunit and I've tested some navigation successfully. The problem that I am having at the moment is the following: I'm trying to test a registration process that spans about three redirections. The first page is a form, when I set the parameters and submit it with httpunit, it redirects me as it should. When I take that response and try to get the form and asign it to a Webform object it throws the following exception: Exception: com.meterware.httpunit.NotHTMLException: The content type of the response is 'text/plain': it must be 'text/html' in order to be recognized as HTML I don't know why the response is text/plain I would truly appreciate it if you could help me. Regards. __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ |