add extractors back, make compatible with older version

This commit is contained in:
httprunner
2017-11-01 14:47:33 +08:00
parent 49797c51fd
commit 7edba7be51

View File

@@ -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", [])