Posted on 2004-11-17
I'm writing a testing tool that needs to POST some data into a complex website. Then based on the data posted it will take care of the rest. Results will be delivered back out to me when processing is done (via an external servlet call).
This tool is to be run on a Solaris server (with no graphics card) and so anything I do needs to be aware of that.
My thoughts so far:
1. Call Mozilla from the commandline with an html file which will post the data. Problems: I would need to do this hundreds of times (hopefully in parallel), I don't know how to reuse a browser that is currently available (from unix), it needs a DISPLAY (X-Windows) and I'm worried about the performance and reliability of this solution.
3. Something else I can't think of.
I'd appreciate any API's, code snippets or ideas that would help with this problem.