feat: data-driven.

This commit is contained in:
徐聪
2022-01-04 16:31:50 +08:00
parent 6ccc222340
commit 73e0465139
2 changed files with 7 additions and 5 deletions

View File

@@ -13,7 +13,8 @@
"iteration": 1
},
"variables": {
"app_version": "f1"
"app_version": "f1",
"user_agent": "iOS/10.3"
},
"base_url": "https://postman-echo.com",
"verify": false
@@ -24,7 +25,7 @@
"variables": {
"foo1": "$username",
"foo2": "$password",
"foo3": "$app_version"
"foo3": "$user_agent"
},
"request": {
"method": "GET",
@@ -48,7 +49,7 @@
{
"check": "body.args.foo3",
"assert": "not_equal",
"expect": "f1",
"expect": "iOS/10.3",
"msg": "check app version"
}
]