Hi Daniel, 1) Cookies and sessions Cookies are maintained by HtmlUnit (in fact by commons-httpclient). There is currently no facility to persist this information. This would definitively make sense for me (and in fact this belongs to the list of improvements that I want to do but for which I haven't found time).
2) Logging: I don't know what you mean. Reporting: this is WebTest that collects the information (mainly from HtmlUnit) to generate rich reports. 3) no chart available. - Rhino: used by HtmlUnit to execute the JS code found in HTML page. Remember that Rhino is "only" a JavaScript engine what means that all objects specific to a browser are provided by HtmlUnit - HtmlUnit: you can simply consider it as a browser - WebTest: it drives the browser and generate reports. A few parts of WebTest could perhaps be moved to HtmlUnit, like support for Excel or PDF documents You can surely use HtmlUnit directly or use an other tool built on HtmlUnit. Even if I'm the lead developer of HtmlUnit, I personally rarely use it directly for functional tests: it's too low level and WebTest allows you a far better productivity. Concerning images: Most of the time WebTest (in fact HtmlUnit) doesn't load images because these are mostly static content that just makes tests more slow and it doesn't add any value to the tests when images are downloaded (ok, this is the general case, some exceptions exist). Cheers, Marc. -- Web: http://www.efficient-webtesting.com Blog: http://mguillem.wordpress.com Daniel Gibby wrote: > Oh, one more thing, can HtmlUnit / WebTest be configured to cache images > so as to not re-request each image in a page or in a session like a > browser does with caching on, or does it download each image on each page? > > Thanks, > Daniel > > Daniel Gibby wrote: >> Hi, I'm looking into the capabilities of WebTest, HtmlUnit and Rhino. >> I'm not sure where the capabilities stop in one product and start in >> another, especially between HtmlUnit and WebTest. I'm an experienced >> Rhino user, so I know pretty well what it can do, but I don't know >> some things about what HtmlUnit and WebTest add on top of that. >> >> Here are some features I need in my browser simulation that I'm >> wondering what the support is in WebTest and HtmlUnit: >> >> 1) Cookies and sessions. Is there a way to persist a session cookie to >> a file or database from within either of the products, so I can resume >> a 'browser' session later at a site? That will help me test things >> like time-outs, etc. >> >> 2) Logging. I've read and understand that both products have logging >> and reporting, but I don't understand the line of distinction between >> the two. I know what kind of logging I can get directly from Rhino. >> What type of additional logging is available by HtmlUnit, and then >> what does WebTest do with that or add to that? >> >> 3) Is there a link of features somewhere or a pretty chart that I >> missed that says on a high level what does what in each of the three >> layers of execution? If there was something like that out there, it >> would really help me with determining whether I just want to use >> HtmlUnit and build a front end to it, or whether I should use WebTest. >> >> Thanks, >> Daniel Gibby >> _______________________________________________ WebTest mailing list WebTest@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest