diff --git a/internal/reqdata/store_test.go b/internal/reqdata/store_test.go index 7327f5b..6866a8f 100644 --- a/internal/reqdata/store_test.go +++ b/internal/reqdata/store_test.go @@ -463,6 +463,13 @@ func TestJsonParameters(t *testing.T) { ParamNames: []string{"a", "URL#injection"}, ParamValues: []interface{}{"b", nil}, }, + // json parse error + { + RawJson: "{ \"a\": \"b\", }", + InvalidNames: []string{}, + ParamNames: []string{}, + ParamValues: []interface{}{}, + }, } for i, test := range tests {