Skip to content

Commit

Permalink
feat: passing testset id as well in the headers (keploy#2093)
Browse files Browse the repository at this point in the history
Signed-off-by: Pranshu Srivastava <[email protected]>
  • Loading branch information
PranshuSrivastava authored Jul 18, 2024
1 parent 8025f36 commit 38b3fa3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ func SimulateHTTP(ctx context.Context, tc models.TestCase, testSet string, logge
req.ProtoMajor = tc.HTTPReq.ProtoMajor
req.ProtoMinor = tc.HTTPReq.ProtoMinor
req.Header.Set("KEPLOY-TEST-ID", tc.Name)
req.Header.Set("KEPLOY-TEST-SET-ID", testSet)
logger.Debug(fmt.Sprintf("Sending request to user app:%v", req))

// Creating the client and disabling redirects
Expand Down

0 comments on commit 38b3fa3

Please sign in to comment.