feat: response extract expresion support variable and function

This commit is contained in:
lihuacai
2021-09-01 15:29:23 +08:00
parent 5467326f8e
commit 0bad623780
3 changed files with 27 additions and 3 deletions

View File

@@ -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