
/**
* 直接获取网页内容
* @throws IOException
* @throws SAXException
*/
@Test
public void testhttp() throws IOException, SAXException{
System.out.println("直接获取网页内容。。。。");
WebConversation wc = new WebConversation();
WebResponse wr = wc.getResponse("http://localhost:8006/TestUnitils/index.jsp");
System.out.println(wr.getText());
assertTrue(wr.getTitle().startsWith("测试"));
}


