mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
add extractors back, make compatible with older version
This commit is contained in:
@@ -103,6 +103,7 @@ class Runner(object):
|
||||
|
||||
run_times = int(testcase.get("times", 1))
|
||||
extractors = testcase.get("extract") \
|
||||
or testcase.get("extractors") \
|
||||
or testcase.get("extract_binds", [])
|
||||
validators = testcase.get("validate") \
|
||||
or testcase.get("validators", [])
|
||||
|
||||
Reference in New Issue
Block a user