mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
feat: data-driven.
This commit is contained in:
@@ -621,6 +621,8 @@ func initParameterIterator(cfg *TConfig, mode string) (err error) {
|
||||
} else {
|
||||
if cfg.ParametersSetting.Iteration > 0 {
|
||||
cfg.ParametersSetting.Iterator.iteration = cfg.ParametersSetting.Iteration
|
||||
} else if cfg.ParametersSetting.Iterator.iteration == 0 {
|
||||
cfg.ParametersSetting.Iterator.iteration = 1
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user