Anonymous - 2003-03-18

I just recently upgrade the httpunit from 1.4.5 to 1.5.2.  I have encountered many problem. 
Even though my testsuite works perfectly in version 1.4.5, it came across numerous errors.  I even try to run the following code posted on the site to see if the test runs correctly:

WebConversation wc = new WebConversation();
    WebRequest     req = new GetMethodWebRequest( "http://www.meterware.com/testpage.html" );
    WebResponse   resp = wc.getResponse( req );

The result:
    [junit] Testcase: testMakeFromPart_AddComp(com.ge.ne.psi.view.TestParts_test):      Caused an ERROR
    [junit] http://www.meterware.com/testpage.html
    [junit] java.net.UnknownHostException: http://www.meterware.com/testpage.html
    [junit]     at com.meterware.httpunit.HttpWebResponse.readResponseHeader(HttpWebResponse.java:140)
    [junit]     at com.meterware.httpunit.HttpWebResponse.readHeaders(HttpWebResponse.java:175)
    [junit]     at com.meterware.httpunit.HttpWebResponse.<init>(HttpWebResponse.java:53)
    [junit]     at com.meterware.httpunit.WebConversation.newResponse(WebConversation.java:60)
    [junit]     at com.meterware.httpunit.WebWindow.getResource(WebWindow.java:154)
    [junit]     at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:117)
    [junit]     at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:110)
    [junit]     at com.meterware.httpunit.WebClient.getResponse(WebClient.java:113)
    [junit]     at com.ge.ne.psi.view.TestParts_test.testMakeFromPart_AddComp(TestParts_test.java:299)

    [junit] TEST com.ge.ne.psi.view.TestParts_test FAILED
[junitreport] Using Xalan version: 2.1.0
[junitreport] Transform time: 3355ms
[junitreport] Using Xalan version: 2.1.0
[junitreport] Transform time: 361ms

What is going on here?  There is something to do with the "getResponse" object of the webConversation object. 

Thanks in advance..