mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 18:11:21 +08:00
31 lines
876 B
JSON
31 lines
876 B
JSON
{
|
|
"config": {
|
|
"variables": {
|
|
"device_sn": "${gen_random_string(15)}",
|
|
"var_b": "$var_a",
|
|
"var_a": "${gen_random_string(5)}"
|
|
},
|
|
"name": "create users with uid",
|
|
"base_url": "http://127.0.0.1:5000"
|
|
},
|
|
"testcases": [
|
|
{
|
|
"name": "create user 1000 and check result.",
|
|
"testcase": "testcases/create_user.yml",
|
|
"variables": {
|
|
"var_d": "$var_c",
|
|
"var_c": "${gen_random_string(5)}",
|
|
"uid": 1000
|
|
}
|
|
},
|
|
{
|
|
"name": "create user 1001 and check result.",
|
|
"testcase": "testcases/create_user.yml",
|
|
"variables": {
|
|
"var_d": "$var_c",
|
|
"var_c": "${gen_random_string(5)}",
|
|
"uid": 1001
|
|
}
|
|
}
|
|
]
|
|
} |