refactor: CaseRunner, parseConfig

This commit is contained in:
lilong.129
2024-08-20 12:09:15 +08:00
parent 9efbd04055
commit 263ee681be
8 changed files with 70 additions and 124 deletions

View File

@@ -305,7 +305,7 @@ func runStepRequest(r *SessionRunner, step *TStep) (stepResult *StepResult, err
sessionData := newSessionData()
parser := r.caseRunner.parser
config := r.caseRunner.parsedConfig
config := r.caseRunner.Config
rb := newRequestBuilder(parser, config, step.Request)
rb.req.Method = strings.ToUpper(string(step.Request.Method))