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 {