mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-19 15:09:32 +08:00
fix: convert jmespath.search result to int/float
This commit is contained in:
@@ -34,7 +34,7 @@ class TestCaseRequestWithFunctions(HttpRunner):
|
||||
"validate": [
|
||||
{"eq": ["status_code", 200]},
|
||||
{"eq": ["body.args.foo1", "session_bar1"]},
|
||||
{"eq": ["body.args.sum_v", 3]},
|
||||
{"eq": ["body.args.sum_v", "3"]},
|
||||
{"eq": ["body.args.foo2", "session_bar2"]},
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user