mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-28 19:47:14 +08:00
feat: support multi-machine collaborative distributed load testing #1193
This commit is contained in:
@@ -178,6 +178,14 @@ func (iter *ParametersIterator) Next() map[string]interface{} {
|
||||
return selectedParameters
|
||||
}
|
||||
|
||||
func (iter *ParametersIterator) outParameters() map[string]interface{} {
|
||||
res := map[string]interface{}{}
|
||||
for key, params := range iter.data {
|
||||
res[key] = params
|
||||
}
|
||||
return res
|
||||
}
|
||||
|
||||
func genCartesianProduct(multiParameters []Parameters) Parameters {
|
||||
if len(multiParameters) == 0 {
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user