feat: data-driven.

This commit is contained in:
徐聪
2021-12-30 22:31:39 +08:00
parent 57816f504b
commit cfc46b0a63
6 changed files with 39 additions and 30 deletions

View File

@@ -69,7 +69,7 @@ func (b *hrpBoomer) convertBoomerTask(testcase *TestCase) *boomer.Task {
var transactionSuccess = true // flag current transaction result
cfg := testcase.Config.ToStruct()
if it := cfg.ParameterIterator; it.HasNext() {
if it := cfg.ParametersSetting.Iterator; it.HasNext() {
cfg.Variables = mergeVariables(it.Next(), cfg.Variables)
}
startTime := time.Now()