feat: extract variables

This commit is contained in:
debugtalk
2021-09-30 13:19:54 +08:00
parent d92b466897
commit 2a793cfc99
6 changed files with 80 additions and 30 deletions

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 {