-
功能说明
-
方法和格式
- %timestamp% : 当前时间戳
- %datetime% : 当前日期时间
- %date% : 当前日期
- %time% : 当前时间
- %random_int:min,max% : 随机整数
- %random_float:min,max% : 随机浮点数
- %random_string:length% : 随机字符串
- %uuid% : UUID
- %counter:name% : 计数器
-
Excel 中使用
| ParamsSetID | ParamID | Name | Value | DataGroup | TestCaseID |
| var_body | P1 | params | { "operation": "set_variable", "data": { "cellNumber": "%random_int:min,max%", "size": 20, "time": "%datetime%" }, "saveAsVariable": "body" } |
1 | TC_OAH_Tenant_BuiltIn_Tasks_DN |