From 883221a9b6a1683503bd370c1bf34821b3365f3f Mon Sep 17 00:00:00 2001 From: Arnaud-Marie Gallardo Date: Thu, 25 Nov 2021 17:02:07 +0100 Subject: [PATCH] fix: headers in http scenarios are not expended --- rocktest/rocktest/scenario/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocktest/rocktest/scenario/http.go b/rocktest/rocktest/scenario/http.go index 024f49c..824afe3 100644 --- a/rocktest/rocktest/scenario/http.go +++ b/rocktest/rocktest/scenario/http.go @@ -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 {