• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HttpUnit- Installation

 
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello !

Have been asked to use HttpUnit to test our web application...I downloaded the src files from the HttpUnit site along with the jars....
But compiling the files was a sticky job.....
Could we not possibly get the entire com.meterware.HttpUnit as well as the other package class files ?
Please help.
regards
Menon
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where exactly did you download the package? At least for me, the download link at httpunit.sourceforge.net points to the binary distribution.
 
Arundhathi Menon
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I manage to dowload the zip file that contains only the jars as well as the core java files..
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You don't need any .class files -- the .jar files are everything you need.

In order to use HttpUnit, the only thing you need to do is:
1) download httpunit-x.y.zip
2) unzip the archive somewhere
3) add all the .jar files from the archive into your project's classpath
4) write tests that use the com.meterware.httpunit.* classes

Here's an example HttpUnit test I wrote for a training class I ran some time ago:
 
reply
    Bookmark Topic Watch Topic
  • New Topic