Originally posted by Judy Herilla:
Im starting my search and see httpUnit, Cactus, JUnit.
Any advice/suggestions?
Plain JUnit is really a unit testing tool so if you're mostly interested in testing the functionality of your application then JUnit is probably not too much of interest for you.
HttpUnit (and
jWebUnit and
HtmlUnit) simulates a web browser and provides HTML-oriented assertion methods with which you can verify expected behavior. If browser-compatibility isn't your biggest concern, these tools are quite handy in putting web applications under a suite of automated tests. If you'd rather write your tests in XML rather than Java, there's also
Canoo WebTest which builds on top of
Ant.
If you are concerned about your web application working properly with the actual browser, you might want to look into tools like
Watir (Windows and IE-only, otherwise excellent) and
Selenium (cross-platform, cross-browser, but a bit awkward and sluggish) which control a real browser rather than simulate one.