{name:"with /_msearch path and valid url",settings:es.DatasourceInfo{URL:"http://localhost:9200"},req:backend.CallResourceRequest{Path:"_msearch"},expected:"http://localhost:9200/_msearch"},
{name:"with _msearch path and valid url",settings:es.DatasourceInfo{URL:"http://localhost:9200"},req:backend.CallResourceRequest{Path:"_msearch"},expected:"http://localhost:9200/_msearch"},
{name:"with _msearch path and valid url with /",settings:es.DatasourceInfo{URL:"http://localhost:9200/"},req:backend.CallResourceRequest{Path:"_msearch"},expected:"http://localhost:9200/_msearch"},
{name:"with _mapping path and valid url",settings:es.DatasourceInfo{URL:"http://localhost:9200"},req:backend.CallResourceRequest{Path:"/_mapping"},expected:"http://localhost:9200/_mapping"},
{name:"with /_mapping path and valid url",settings:es.DatasourceInfo{URL:"http://localhost:9200"},req:backend.CallResourceRequest{Path:"/_mapping"},expected:"http://localhost:9200/_mapping"},
{name:"with /_mapping path and valid url with /",settings:es.DatasourceInfo{URL:"http://localhost:9200/"},req:backend.CallResourceRequest{Path:"/_mapping"},expected:"http://localhost:9200/_mapping"},
{name:"with abc/_mapping path and valid url",settings:es.DatasourceInfo{URL:"http://localhost:9200"},req:backend.CallResourceRequest{Path:"abc/_mapping"},expected:"http://localhost:9200/abc/_mapping"},
{name:"with /abc/_mapping path and valid url",settings:es.DatasourceInfo{URL:"http://localhost:9200"},req:backend.CallResourceRequest{Path:"abc/_mapping"},expected:"http://localhost:9200/abc/_mapping"},
{name:"with /abc/_mapping path and valid url",settings:es.DatasourceInfo{URL:"http://localhost:9200/"},req:backend.CallResourceRequest{Path:"abc/_mapping"},expected:"http://localhost:9200/abc/_mapping"},
// This is to support mappings to cross cluster search that includes ":"
{name:"with path including :",settings:es.DatasourceInfo{URL:"http://localhost:9200/"},req:backend.CallResourceRequest{Path:"ab:c/_mapping"},expected:"http://localhost:9200/ab:c/_mapping"},