feat: extract variables

This commit is contained in:
debugtalk
2021-09-30 13:19:54 +08:00
parent 292424e635
commit df423722c3
6 changed files with 80 additions and 30 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ func (b *Boomer) convertBoomerTask(testcase *TestCase) *boomer.Task {
config := &testcase.Config
for _, step := range testcase.TestSteps {
start := time.Now()
err := runner.runStep(step, config)
_, err := runner.runStep(step, config)
elapsed := time.Since(start).Nanoseconds() / int64(time.Millisecond)
if err == nil {