There's an external webform out of my control that can be used to access and modify data. I want to access that webform automatically, as if it is a webservice.
All objections aside (what to do when the webform changes, why isn't there an webinterface in the first place, ec.), what is a good tool to do that?
My first guess is apache.commons.http library would be able to do that, allthough that requires some manual work. Are there any other tools (commercial or open-source/free) that allows to do that?
Are there any other people who're doing that, accessing external webforms to automatically perform actions? Any tips?
I'd suggest using a library like HtmlUnit (or jWebUnit, which is built on top of it), which works at a much higher level than HttpClient. It understands forms, how to fill them in, how to submit them, how to retrieve result pages, cookies etc.
Gerbrand van Dieijen
posted 8 years ago
Thanks for the tip, that framework looks easy to use.