refactor: update config variables by parameters

This commit is contained in:
debugtalk
2022-04-13 16:15:07 +08:00
parent d7348a0063
commit 60c1ad7188
4 changed files with 29 additions and 24 deletions
+1 -5
View File
@@ -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 {