expInitError:alerting.ValidationError{Reason:"Could not find url property in settings"},
expInitError:`failed to validate receiver of type "alertmanager": could not find url property in settings`,
},{
name:"Error in initing: invalid URL",
settings:`{
"url":"://alertmanager.com"
}`,
expInitError:alerting.ValidationError{Reason:"Invalid url property in settings"},
expInitError:`failed to validate receiver "Alertmanager" of type "alertmanager": invalid url property in settings: parse "://alertmanager.com/api/v1/alerts": missing protocol scheme`,
require.JSONEq(t,"{\"message\":\"failed to save and apply Alertmanager configuration: alert validation error: token must be specified when using the Slack chat API\"}",getBody(t,resp.Body))
require.JSONEq(t,`{"message":"failed to save and apply Alertmanager configuration: failed to validate receiver \"slack.receiver\" of type \"slack\": token must be specified when using the Slack chat API"}`,getBody(t,resp.Body))