public void testSendRequest() throws Exception { proxy.addListener(this); HttpUtils.sendFile("localhost", 80, "c:/login.txt"); waitForRequest(); assertTrue(requestString.startsWith("POST /rets/server/login HTTP/1.1")); // assertTrue(request.getCookies().getCookieCount() > 0); System.out.println(request.getParameters()); }