• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HttpUnit- Installation

 
Arundhathi Menon
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • 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
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • 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
  • 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
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • 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:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic