<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: HtmlUnit vs HttpUnit</title>
	<atom:link href="http://daniel.gredler.net/2007/10/04/htmlunit-vs-httpunit/feed/" rel="self" type="application/rss+xml" />
	<link>http://daniel.gredler.net/2007/10/04/htmlunit-vs-httpunit/</link>
	<description></description>
	<lastBuildDate>Tue, 29 Dec 2009 03:36:29 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Andrew</title>
		<link>http://daniel.gredler.net/2007/10/04/htmlunit-vs-httpunit/#comment-652</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Wed, 09 Dec 2009 21:20:48 +0000</pubDate>
		<guid isPermaLink="false">http://daniel.gredler.net/2007/10/04/htmlunit-vs-httpunit/#comment-652</guid>
		<description>Good comparison - I like what HtmlUnit offers, but I also like the simplicity of HttpUnit&#039;s setup (1.7).  HtmlUnit has way too many dependencies to manage on a host of machines simultaneously (regardless of what IBM wants us to believe about virtualization).

I&#039;d love to try out HtmlUnit, but could you clean up the dependency list?  HttpUnit include basic classes of all necessary libraries and links to go get better ones if you want them.  

Also, documentation is huge - most of these sites/tools are aimed at developers testing their own code, but remember there are a lot of QA types that lack the developers understanding AND the developers environment.  Too many things can be taken for granted in the documentation.  (Just getting Junit up and running basic tests took 3 days - due to assumptions in the documentation) Remember your audience is never as smart as you think you are.

Good article, albeit a bit old!  :)</description>
		<content:encoded><![CDATA[<p>Good comparison &#8211; I like what HtmlUnit offers, but I also like the simplicity of HttpUnit&#8217;s setup (1.7).  HtmlUnit has way too many dependencies to manage on a host of machines simultaneously (regardless of what IBM wants us to believe about virtualization).</p>
<p>I&#8217;d love to try out HtmlUnit, but could you clean up the dependency list?  HttpUnit include basic classes of all necessary libraries and links to go get better ones if you want them.  </p>
<p>Also, documentation is huge &#8211; most of these sites/tools are aimed at developers testing their own code, but remember there are a lot of QA types that lack the developers understanding AND the developers environment.  Too many things can be taken for granted in the documentation.  (Just getting Junit up and running basic tests took 3 days &#8211; due to assumptions in the documentation) Remember your audience is never as smart as you think you are.</p>
<p>Good article, albeit a bit old!  <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eclotone</title>
		<link>http://daniel.gredler.net/2007/10/04/htmlunit-vs-httpunit/#comment-628</link>
		<dc:creator>eclotone</dc:creator>
		<pubDate>Thu, 30 Jul 2009 07:19:17 +0000</pubDate>
		<guid isPermaLink="false">http://daniel.gredler.net/2007/10/04/htmlunit-vs-httpunit/#comment-628</guid>
		<description>Hi Simon,

when you talk about in-process testing, is this here something along the lines of what you mean: http://lunchbreakers.wordpress.com/on-java-web-application-testing

Cheers,
Joerg</description>
		<content:encoded><![CDATA[<p>Hi Simon,</p>
<p>when you talk about in-process testing, is this here something along the lines of what you mean: <a href="http://lunchbreakers.wordpress.com/on-java-web-application-testing" rel="nofollow">http://lunchbreakers.wordpress.com/on-java-web-application-testing</a></p>
<p>Cheers,<br />
Joerg</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcio Wesley Borges</title>
		<link>http://daniel.gredler.net/2007/10/04/htmlunit-vs-httpunit/#comment-610</link>
		<dc:creator>Marcio Wesley Borges</dc:creator>
		<pubDate>Sun, 08 Mar 2009 02:02:35 +0000</pubDate>
		<guid isPermaLink="false">http://daniel.gredler.net/2007/10/04/htmlunit-vs-httpunit/#comment-610</guid>
		<description>Nice explanation.
Thank you!</description>
		<content:encoded><![CDATA[<p>Nice explanation.<br />
Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Constantine Kulak</title>
		<link>http://daniel.gredler.net/2007/10/04/htmlunit-vs-httpunit/#comment-595</link>
		<dc:creator>Constantine Kulak</dc:creator>
		<pubDate>Thu, 22 Jan 2009 08:10:19 +0000</pubDate>
		<guid isPermaLink="false">http://daniel.gredler.net/2007/10/04/htmlunit-vs-httpunit/#comment-595</guid>
		<description>Thanks for the article! I tried to use HttpUnit in a DB2 8.1 stored procedure (don&#039;t ask me why), and it just crashes its fenced mode. In 9.5 it works, but only if I put all supporting JAR files to DB2 JRE, because otherwise Xerces won&#039;t work (it&#039;s used internally by HttpUnit). I&#039;ve spent two days struggling with that, and I wish I&#039;d found your article before.</description>
		<content:encoded><![CDATA[<p>Thanks for the article! I tried to use HttpUnit in a DB2 8.1 stored procedure (don&#8217;t ask me why), and it just crashes its fenced mode. In 9.5 it works, but only if I put all supporting JAR files to DB2 JRE, because otherwise Xerces won&#8217;t work (it&#8217;s used internally by HttpUnit). I&#8217;ve spent two days struggling with that, and I wish I&#8217;d found your article before.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oudated knowledge of &#8220;experts&#8221;: the example of HttpUnit &#171; Marc Guillemot&#8217;s blog</title>
		<link>http://daniel.gredler.net/2007/10/04/htmlunit-vs-httpunit/#comment-499</link>
		<dc:creator>Oudated knowledge of &#8220;experts&#8221;: the example of HttpUnit &#171; Marc Guillemot&#8217;s blog</dc:creator>
		<pubDate>Fri, 23 May 2008 12:02:23 +0000</pubDate>
		<guid isPermaLink="false">http://daniel.gredler.net/2007/10/04/htmlunit-vs-httpunit/#comment-499</guid>
		<description>[...] his blog post &#8220;HtmlUnit vs HttpUnit&#8220;, Daniel Gredler wrote &#8220;HttpUnit is to the web app testing world what Struts is to the [...]</description>
		<content:encoded><![CDATA[<p>[...] his blog post &#8220;HtmlUnit vs HttpUnit&#8220;, Daniel Gredler wrote &#8220;HttpUnit is to the web app testing world what Struts is to the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sargon Benjamin</title>
		<link>http://daniel.gredler.net/2007/10/04/htmlunit-vs-httpunit/#comment-498</link>
		<dc:creator>Sargon Benjamin</dc:creator>
		<pubDate>Fri, 23 May 2008 06:30:58 +0000</pubDate>
		<guid isPermaLink="false">http://daniel.gredler.net/2007/10/04/htmlunit-vs-httpunit/#comment-498</guid>
		<description>I just noticed that HttpUnit 1.7 was released on May 20, 2008.  I also noted that Wolfgang is a key committer and revived the HttpUnit project - kudos to you!</description>
		<content:encoded><![CDATA[<p>I just noticed that HttpUnit 1.7 was released on May 20, 2008.  I also noted that Wolfgang is a key committer and revived the HttpUnit project &#8211; kudos to you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sargon Benjamin</title>
		<link>http://daniel.gredler.net/2007/10/04/htmlunit-vs-httpunit/#comment-497</link>
		<dc:creator>Sargon Benjamin</dc:creator>
		<pubDate>Fri, 23 May 2008 01:26:59 +0000</pubDate>
		<guid isPermaLink="false">http://daniel.gredler.net/2007/10/04/htmlunit-vs-httpunit/#comment-497</guid>
		<description>Thanks for the post and great comments!  In response to Wolfgang, I&#039;m currently a BIG fan of httpunit.  Its easy to add to and to build a framework around.  
My web app under test doesn&#039;t use javascript at all so I am lucky in the regard.  The one nicety is that httpunit lets me know the content type of various response pages (text/html or text/xml) and I can then do further processing there.  However, httpunit can&#039;t provide any verification features (eg getElementNames() or verifyTextPresent() ) on pages whose content type is &#039;text/xml&#039;.  I wouldn&#039;t expect it to either so I&#039;m just using the Response.getText() and then doing some custom verification (XMLUnit and simple java regex).
I don&#039;t have much reason to move to a new framework; however, I have been reading about JWebUnit and looking at its 2.0 features (Selenium integration seems nice).  It would be nice to have Selenium scripts using the same framework I&#039;m using for my non GUI tests and JWebUnit has the potential to do that.  JWebUnit is built on top of HtmlUnit, atleast thats what I&#039;m reading, and so I may just make the switch over to JWebUnit.
Is there anything that HTTPUnit can do that HtmlUnit / JWebUnit can&#039;t do (I don&#039;t use the ServletUnit functionality that Simon mentioned so thats a non issue for us. If Simon could elaborate on what he&#039;s built, that would be nice too!)</description>
		<content:encoded><![CDATA[<p>Thanks for the post and great comments!  In response to Wolfgang, I&#8217;m currently a BIG fan of httpunit.  Its easy to add to and to build a framework around.<br />
My web app under test doesn&#8217;t use javascript at all so I am lucky in the regard.  The one nicety is that httpunit lets me know the content type of various response pages (text/html or text/xml) and I can then do further processing there.  However, httpunit can&#8217;t provide any verification features (eg getElementNames() or verifyTextPresent() ) on pages whose content type is &#8216;text/xml&#8217;.  I wouldn&#8217;t expect it to either so I&#8217;m just using the Response.getText() and then doing some custom verification (XMLUnit and simple java regex).<br />
I don&#8217;t have much reason to move to a new framework; however, I have been reading about JWebUnit and looking at its 2.0 features (Selenium integration seems nice).  It would be nice to have Selenium scripts using the same framework I&#8217;m using for my non GUI tests and JWebUnit has the potential to do that.  JWebUnit is built on top of HtmlUnit, atleast thats what I&#8217;m reading, and so I may just make the switch over to JWebUnit.<br />
Is there anything that HTTPUnit can do that HtmlUnit / JWebUnit can&#8217;t do (I don&#8217;t use the ServletUnit functionality that Simon mentioned so thats a non issue for us. If Simon could elaborate on what he&#8217;s built, that would be nice too!)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WolfgangFahl</title>
		<link>http://daniel.gredler.net/2007/10/04/htmlunit-vs-httpunit/#comment-493</link>
		<dc:creator>WolfgangFahl</dc:creator>
		<pubDate>Tue, 13 May 2008 10:40:46 +0000</pubDate>
		<guid isPermaLink="false">http://daniel.gredler.net/2007/10/04/htmlunit-vs-httpunit/#comment-493</guid>
		<description>Thank you Daniel and Marc for getting in touch.
I wonder what current httpunit users are saying. I did not try out htmlunit myself yet so I can&#039;t state anything yet about how the two projects compare. 
Let&#039;s see what happens during the upcoming months.</description>
		<content:encoded><![CDATA[<p>Thank you Daniel and Marc for getting in touch.<br />
I wonder what current httpunit users are saying. I did not try out htmlunit myself yet so I can&#8217;t state anything yet about how the two projects compare.<br />
Let&#8217;s see what happens during the upcoming months.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc Guillemot</title>
		<link>http://daniel.gredler.net/2007/10/04/htmlunit-vs-httpunit/#comment-463</link>
		<dc:creator>Marc Guillemot</dc:creator>
		<pubDate>Wed, 02 Apr 2008 10:58:49 +0000</pubDate>
		<guid isPermaLink="false">http://daniel.gredler.net/2007/10/04/htmlunit-vs-httpunit/#comment-463</guid>
		<description>Wolfgang,

interesting to see that HttpUnit is not fully dead. On the other hand I don&#039;t expect so much progress particularly in JS support, no matter how many energy you deploy: HttpUnit current JS support capabilities are approximatively comparable to what HtmlUnit could do in 2004. Looking back at its state in 2004 I can say that it represents only a small part of the current HtmlUnit JS support capabilities. 750 running tests is not really a high number: HtmlUnit has currently over 3300 running tests (some of them are large test suites of AJAX libraries) and this is surely not enough.

I agree with you that a collaboration could allow to progress faster nevertheless I&#039;ve already contacted you for a few days... but without response.</description>
		<content:encoded><![CDATA[<p>Wolfgang,</p>
<p>interesting to see that HttpUnit is not fully dead. On the other hand I don&#8217;t expect so much progress particularly in JS support, no matter how many energy you deploy: HttpUnit current JS support capabilities are approximatively comparable to what HtmlUnit could do in 2004. Looking back at its state in 2004 I can say that it represents only a small part of the current HtmlUnit JS support capabilities. 750 running tests is not really a high number: HtmlUnit has currently over 3300 running tests (some of them are large test suites of AJAX libraries) and this is surely not enough.</p>
<p>I agree with you that a collaboration could allow to progress faster nevertheless I&#8217;ve already contacted you for a few days&#8230; but without response.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WolfgangFahl</title>
		<link>http://daniel.gredler.net/2007/10/04/htmlunit-vs-httpunit/#comment-462</link>
		<dc:creator>WolfgangFahl</dc:creator>
		<pubDate>Tue, 01 Apr 2008 17:50:04 +0000</pubDate>
		<guid isPermaLink="false">http://daniel.gredler.net/2007/10/04/htmlunit-vs-httpunit/#comment-462</guid>
		<description>Some of the statements here are out of date. Since mid 2007 I&#039;m a committer on the httpunit project. So it&#039;s not a one man show at this time. 

First I should say that I&#039;ve been sharing your frustration about how httpunit was handled since mid 2004. I&#039;ve been sticking to my own patched version until the middle of 2007 when I finally decided to ask Russell for committer
rights which he kindly assigned to me.

I&#039;ve worked hard to get the patches of some 3 years into the project and I&#039;m done with that. I&#039;ve done some 200 tracker items in the last three days alone and version 1.7 and 2.0 are due soon. The javascript support of httpunit is being improved with a new DOM scripting engine. There are over 750 running test cases at this time.

From my point of view it&#039;s a pitty that there is a split of the developer resources around the unit testing issue of html pages. I don&#039;t know what Russell&#039;s opinion on this is.

Feel free to contact me via the contact form on my webpage or the e-mail shown there.</description>
		<content:encoded><![CDATA[<p>Some of the statements here are out of date. Since mid 2007 I&#8217;m a committer on the httpunit project. So it&#8217;s not a one man show at this time. </p>
<p>First I should say that I&#8217;ve been sharing your frustration about how httpunit was handled since mid 2004. I&#8217;ve been sticking to my own patched version until the middle of 2007 when I finally decided to ask Russell for committer<br />
rights which he kindly assigned to me.</p>
<p>I&#8217;ve worked hard to get the patches of some 3 years into the project and I&#8217;m done with that. I&#8217;ve done some 200 tracker items in the last three days alone and version 1.7 and 2.0 are due soon. The javascript support of httpunit is being improved with a new DOM scripting engine. There are over 750 running test cases at this time.</p>
<p>From my point of view it&#8217;s a pitty that there is a split of the developer resources around the unit testing issue of html pages. I don&#8217;t know what Russell&#8217;s opinion on this is.</p>
<p>Feel free to contact me via the contact form on my webpage or the e-mail shown there.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
