mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
17 lines
417 B
YAML
17 lines
417 B
YAML
config:
|
|
name: create users with parameters
|
|
variables:
|
|
device_sn: ${gen_random_string(15)}
|
|
base_url: "http://127.0.0.1:5000"
|
|
|
|
testcases:
|
|
-
|
|
name: create user $uid and check result for $device_sn.
|
|
testcase: testcases/create_user.yml
|
|
variables:
|
|
uid: 1000
|
|
device_sn: TESTSUITE_XXX
|
|
parameters:
|
|
uid: [101, 102, 103]
|
|
device_sn: [TESTSUITE_X1, TESTSUITE_X2]
|