mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-04 23:16:57 +08:00
refactor: update config variables by parameters
This commit is contained in:
+1
-5
@@ -107,11 +107,7 @@ func (b *HRPBoomer) convertBoomerTask(testcase *TestCase, rendezvousList []*Rend
|
||||
parameterVariables = it.Next()
|
||||
}
|
||||
}
|
||||
|
||||
if err := sessionRunner.parseConfig(parameterVariables); err != nil {
|
||||
log.Error().Err(err).Msg("parse config failed")
|
||||
return
|
||||
}
|
||||
sessionRunner.updateConfigVariables(parameterVariables)
|
||||
|
||||
startTime := time.Now()
|
||||
for _, step := range testcase.TestSteps {
|
||||
|
||||
Reference in New Issue
Block a user