mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-21 08:10:24 +08:00
feat: response extract expresion support variable and function
This commit is contained in:
@@ -195,7 +195,7 @@ class HttpRunner(object):
|
||||
|
||||
# extract
|
||||
extractors = step.extract
|
||||
extract_mapping = resp_obj.extract(extractors)
|
||||
extract_mapping = resp_obj.extract(extractors, step.variables, self.__project_meta.functions)
|
||||
step_data.export_vars = extract_mapping
|
||||
|
||||
variables_mapping = step.variables
|
||||
|
||||
Reference in New Issue
Block a user