public AlertResult send(String title, String content) {
        AlertResult alertResult = new AlertResult();

        if (httpParams.getMethod() == null) {
            alertResult.setSuccess(false);
            alertResult.setMessage("Request types are not supported");
            return alertResult;
        }

        try {
            createHttpRequest(title, content);
            String resp = this.getResponseString(httpRequest);
            alertResult.setSuccess(true);
            alertResult.setMessage(resp);
        } catch (Exception e) {
            logger.error("send http alert msg  failed", e);
            alertResult.setSuccess(false);
            alertResult.setMessage("send http request  alert fail.");
        }

        return alertResult;
    }
@Test
    public void sendTest() {
        HttpAlert httpAlert = new HttpAlert();
        AlertConfig alertConfig = new AlertConfig();
        alertConfig.setType(HttpConstants.TYPE);
        alertConfig.setParam(httpConfig);
        httpAlert.setConfig(alertConfig);
        AlertResult alertResult =
                httpAlert.send(AlertBaseConstant.ALERT_TEMPLATE_TITLE, AlertBaseConstant.ALERT_TEMPLATE_MSG);
        Assert.assertEquals(true, alertResult.getSuccess());
    }