Results 1 to 2 of 2

Thread: HttpUnit and Spring Framework

  1. #1
    Join Date
    Apr 2005
    Location
    Chennai, India
    Posts
    1

    Default HttpUnit and Spring Framework

    How do i code Test Case for a controller using httpunit. I have to test code for authentication. httpunit defaults to web.xml and the servlet. In case of spring framework, we have the web.xml and the -servlet.xml to access the controller. How do i cross this bridge.

    Thanking you in advance.

    Bye.

  2. #2
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default

    HttpUnit enables you to make requests to a deployed application, by URL. This means you simply navigate the site represented by the application. Thus it doesn't really matter what web technology the site is implemented with.

    I recommend jWebUnit (http://jwebunit.sourceforge.net/), which we used with good results on a recent project using SWF.
    Rod Johnson - GM, SpringSource Division, VMware
    http://www.springsource.com
    Spring From the Source

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •