Skip to content

Commit

Permalink
test: update mock server http request
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Anene  <[email protected]>
Signed-off-by: vickysomtee <[email protected]>
  • Loading branch information
Vickysomtee committed Apr 22, 2024
1 parent c2e1952 commit 061dd02
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions test/chainsaw/testmetrics/dynatrace-provider/mock-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,23 @@ data:
[
{
"httpRequest": {
"path": "/api/v1/query_range",
"method": "POST"
"method" : "GET",
"path" : "/api/v2/metrics/query",
"queryStringParameters" : {
"metricSelector" : [ "query" ]
},
"headers" : {
"x-forwarded-by" : [ "MockServer_99f6f711-462f-4a60-9432-303a23ddd8ec" ],
"host" : [ "mockserver.chainsaw-epic-spaniel.svc.cluster.local:1080" ],
"content-length" : [ "0" ],
"connection" : [ "keep-alive" ],
"accept-encoding" : [ "gzip,deflate" ],
"User-Agent" : [ "Go-http-client/1.1" ],
"Authorization" : [ "Api-Token token: mytoken" ]
},
"keepAlive" : true,
"secure" : false,
"remoteAddress" : "10.244.0.1"
},
"httpResponse": {
"body": {
Expand Down

0 comments on commit 061dd02

Please sign in to comment.