Our web app supports downloads by sending a content type that IE doesn't recognize, which triggers the Windoze "File Download" dialog.
When I try to test this functionality with HttpUnit, the WebResponse returned by the "WebForm.submit" method is the same HTML page from which the request was generated, rather than the new non-HTML response.
How can I get at the non-HTML response?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My apologies; this was a case of operator error. The server was actually generating an HTML response telling me that I hand not filled in mandatory fields.
After I had HttpUnit set parameter values everywhere the app needs them, I was able to get a non-HTML response from the WebForm.submit() method.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Our web app supports downloads by sending a content type that IE doesn't recognize, which triggers the Windoze "File Download" dialog.
When I try to test this functionality with HttpUnit, the WebResponse returned by the "WebForm.submit" method is the same HTML page from which the request was generated, rather than the new non-HTML response.
How can I get at the non-HTML response?
Thanks.
My apologies; this was a case of operator error. The server was actually generating an HTML response telling me that I hand not filled in mandatory fields.
After I had HttpUnit set parameter values everywhere the app needs them, I was able to get a non-HTML response from the WebForm.submit() method.