diff --git a/receiver/splunkenterprisereceiver/scraper_test.go b/receiver/splunkenterprisereceiver/scraper_test.go index 42ecd5fe692b2..08086a6a3ee1e 100644 --- a/receiver/splunkenterprisereceiver/scraper_test.go +++ b/receiver/splunkenterprisereceiver/scraper_test.go @@ -53,9 +53,9 @@ func createMockServer() *httptest.Server { switch r.URL.String() { case "/services/server/introspection/indexer?output_mode=json": mockIndexerThroughput(w, r) - case "/services/data/indexes-extended": + case "/services/data/indexes-extended?output_mode=json&count=-1": mockIndexesExtended(w, r) - case "/services/server/introspection/queues": + case "/services/server/introspection/queues?output_mode=json&count=-1": mockIntrospectionQueues(w, r) default: http.NotFoundHandler().ServeHTTP(w, r)