mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-17 05:17:36 +08:00
add each parameter selection strategy.
This commit is contained in:
@@ -9,10 +9,10 @@
|
||||
"username-password": "${parameterize(examples/account.csv)}"
|
||||
},
|
||||
"parameters_setting": {
|
||||
"strategy": [
|
||||
"random",
|
||||
"sequential"
|
||||
],
|
||||
"strategy": {
|
||||
"user_agent": "sequential",
|
||||
"username-password": "random"
|
||||
},
|
||||
"iteration": 10
|
||||
},
|
||||
"variables": {
|
||||
|
||||
@@ -4,7 +4,9 @@ config:
|
||||
user_agent: [ "iOS/10.1", "iOS/10.2" ]
|
||||
username-password: ${parameterize(examples/account.csv)}
|
||||
parameters_setting:
|
||||
strategy: ["random", "sequential"]
|
||||
strategy:
|
||||
user_agent: "sequential"
|
||||
username-password: "random"
|
||||
iteration: 10
|
||||
variables:
|
||||
app_version: v1
|
||||
|
||||
Reference in New Issue
Block a user