You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "KARR, DAVID (ATTSI)" <dk...@att.com> on 2011/08/11 17:58:17 UTC

Integration with HTMLUnit?

This is slightly afield of CXF, but I've added a new property to my JAX-RS service, the value of which is a URL to an HTML page that is associated with the element the property is contained within.  I'd like to write an integration test that parses some of the HTML returned from that page, to verify it matches other data in the surrounding element.

I would assume I would use the HTMLUnit library for this, which ironically uses a class called "WebClient" to make its remote connection.  The class name conflict is but a minor annoyance.

Does anyone in CXF land have any convenient shortcuts for this integration between CXF and HTMLUnit?