{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"},
{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"},
{name:"with \"\" path and valid url and /",settings:es.DatasourceInfo{URL:"http://localhost:9200/"},req:backend.CallResourceRequest{Path:""},expected:"http://localhost:9200/"},
{name:"with \"\" path and valid url",settings:es.DatasourceInfo{URL:"http://localhost:9200"},req:backend.CallResourceRequest{Path:""},expected:"http://localhost:9200/"},
{name:"with \"\" path and valid url with path",settings:es.DatasourceInfo{URL:"http://elastic:9200/lb"},req:backend.CallResourceRequest{Path:""},expected:"http://elastic:9200/lb/"},
{name:"with \"\" path and valid url with path and /",settings:es.DatasourceInfo{URL:"http://elastic:9200/lb/"},req:backend.CallResourceRequest{Path:""},expected:"http://elastic:9200/lb/"},