mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 18:11:21 +08:00
new mapping style:
"variables": {
"a": 1,
"b": 2
}
Also, the former list style is still valid:
"variables": [
{"a": 1},
{"b": 2}
]
11 lines
216 B
YAML
11 lines
216 B
YAML
bind_variables:
|
|
variables:
|
|
TOKEN: "debugtalk"
|
|
token: $TOKEN
|
|
|
|
builtin_functions:
|
|
variables:
|
|
length: ${len(debugtalk)}
|
|
smallest: ${min(2, 3, 8)}
|
|
largest: ${max(2, 3, 8)}
|