Chuck Esterbrook wrote:
> Has anyone ever used or investigated both of these? e.g., how do they 
> compare?
> 
> http://puffin.sourceforge.net/
> http://webunit.sourceforge.net/
> 
> 
> And I suppose the authors can throw in their comments, if they like!


Not much to say, really. Webunit gives you an 'HttpSession' object,
and the ability to make 'get', 'post' and 'multi-part post'
requests to a remote HTTP server (the latter request type is for file
uploads). The reply code, headers and data can then be inspected.

Automatic cookie handling and request parameter encoding ("?foo=bar" etc.)
are the key benefits gained over the 'httplib' and 'urllib' modules.
Docs are a bit lousy, but the example script provides a reasonable overview.

It's pretty low-level, but is a good basis for writing test frameworks
and scripts that automate web applications. (e.g. log into Yahoo, read
mail.) Works for me, at least.

Puffin appears to be a different thing; a self-contained testing
program that is configured rather than programmed. It looks very
clever, but I didn't spend time yet to get my head around it because
I'm not a big fan of XML, intimate knowledge of which seems to be
required by Puffin.

I hope Keyton will correct/enlighten me as necessary!

Best wishes to all,

-Steve


--
Steve Purcell, Pythangelist
Get testing at http://pyunit.sourceforge.net/

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to