mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-17 15:07:38 +08:00
fix: convert jmespath.search result to int/float
This commit is contained in:
@@ -25,5 +25,5 @@ teststeps:
|
||||
session_foo2: "body.args.foo2"
|
||||
validate:
|
||||
- eq: ["status_code", 200]
|
||||
- eq: ["body.args.sum_v", 3]
|
||||
- less_than: ["body.args.sum_v", "${sum_two(2, 2)}"]
|
||||
- eq: ["body.args.sum_v", "3"]
|
||||
# - less_than: ["body.args.sum_v", "${sum_two(2, 2)}"] TODO
|
||||
|
||||
Reference in New Issue
Block a user