You might want to take a look at HtmlUnit. It's a little bit higher level than HttpUnit so if what you are trying to test is workflows and other high level functionality, it may be worth a look.
HtmlUnit gives lets you work with the returned documents as DOM trees (effectively) so you don't have to worry about the low level details too much. http://htmlunit.sourceforge.net/ -Mike On 3/20/06, Asim Khaja <[EMAIL PROTECTED]> wrote: > Thank for the link Konstatine, I will difently look into it. It would inded > be cool if I could do both functional and peformance testing with the same > tool, whihc it appears Grinder does allow me to do. If you could please > post the example of how to generate random values per invoation as well as > using Regexp for resopnse analysis and testing I'd really appricate it. > > Thanks Again, > Asim K. > > On 3/20/06, Konstantin Ignatyev <[EMAIL PROTECTED]> wrote: > > > > HttpUnit is too low level. In fact Grinder drives httpunit via Jython > > script. > > See a very simplistic usage example here > > > > http://sandbox.sourcelabs.com/kosta/web_ui_compare/readme/tests/technology.html > > > > It does not use java Random to generate unique values per invocation and > > does not employ REgexp for sophiticated response analysis and testing, but > > that is really easy to do. I can post an example if you wish. > > Asim Khaja <[EMAIL PROTECTED]> wrote: Thanks Konstantin and Adam for > > your help. I was indeed trying to do Unit > > Testing, not performance testing so I'll check out HttpUnit. > > > > Thanks Again, > > Asim > > > > On 3/20/06, Adam Zimowski wrote: > > > > > > Grinder is used for performance testing. He's not asking for that. He > > > wants a tool similar to JUnit to test Tapestry pages. > > > > > > Try HttpUnit: http://httpunit.sourceforge.net/ > > > > > > Adam > > > > > > On 3/20/06, Konstantin Ignatyev wrote: > > > > TheGrinder3 is the best way to test IMO. > > http://grinder.sourceforge.net/ > > > > Next would be Selenium. http://www.openqa.org/selenium/ > > > > > > > > > > > > Asim Khaja wrote: Hello All, > > > > > > > > What is the best way to unit test each Tapestry page? Is there a way > > to > > > > easily integrate Jakarata Cactus in it? > > > > > > > > Thx, > > > > Asim > > > > > > > > > > > > > > > > Konstantin Ignatyev > > > > > > > > > > > > > > > > > > > > PS: If this is a typical day on planet earth, humans will add fifteen > > > million tons of carbon to the atmosphere, destroy 115 square miles of > > > tropical rainforest, create seventy-two miles of desert, eliminate > > between > > > forty to one hundred species, erode seventy-one million tons of topsoil, > > add > > > 2,700 tons of CFCs to the stratosphere, and increase their population by > > > 263,000 > > > > > > > > Bowers, C.A. The Culture of Denial: Why the Environmental Movement > > > Needs a Strategy for Reforming Universities and Public Schools. New > > > York: State University of New York Press, 1997: (4) (5) (p.206) > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
