feat: parse variable

This commit is contained in:
debugtalk
2021-09-28 22:50:24 +08:00
parent 0cff656ca0
commit b58701178d
4 changed files with 87 additions and 3 deletions

View File

@@ -107,7 +107,7 @@ func (r *Runner) runStepRequest(step *TStep) error {
// validate response
respObj := NewResponseObject(r.t, resp)
err = respObj.Validate(step.Validators)
err = respObj.Validate(step.Validators, step.Variables)
if err != nil {
return err
}