IHttpResponse response = respHdl.getResponse();
Assert.assertEquals(200, response.getStatus());
File tempFile = QAUtil.createTempfile();
RandomAccessFile raf = new RandomAccessFile(tempFile, "rw");
FileChannel fc = raf.getChannel();
BlockingBodyDataSource source = response.getBlockingBody();
source.transferTo(fc);
fc.close();
raf.close();
Assert.assertTrue(QAUtil.isEquals(file, tempFile));
QAUtil.sleep(500);