Skip to content

Commit

Permalink
Merge pull request #1 from ArnaudGallardo/fix/http_parameter_expend_h…
Browse files Browse the repository at this point in the history
…eaders

fix: headers in http scenarios are not expanded
  • Loading branch information
benoittouron authored Dec 25, 2021
2 parents d6b3607 + 883221a commit d05a353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rocktest/rocktest/scenario/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ func (module *Module) httpReq(params map[string]interface{}, meth string, scenar
return err
}

headers, err := scenario.GetMap(params, "headers", nil)
headers, err := scenario.GetMap(paramsEx, "headers", nil)

if err == nil {
for k, v := range headers {
Expand Down

0 comments on commit d05a353

Please sign in to comment.