    @Test(expected = Exception.class)
    public void testExecuteForException() throws Exception {

        initCxtForRequest(mockContext, "GET", "string", "string",
                "http://localhost:" + rule.port() + "/fault", false, 0, true);
        task.execute(mockContext);
    }