From 55af3832187cbfcb5ed1f74407a920dc1ceadf22 Mon Sep 17 00:00:00 2001 From: "rx.wu" Date: Wed, 31 Jan 2024 18:40:48 +0800 Subject: [PATCH] feat: add body field --- app/core/executor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/executor.py b/app/core/executor.py index 8e85a75a..88c8359e 100755 --- a/app/core/executor.py +++ b/app/core/executor.py @@ -67,7 +67,7 @@ class Executor(object): el_exp = r"\$\{(.+?)\}" pattern = re.compile(el_exp) # 需要替换全局变量的字段 - fields = ['url', 'request_headers'] + fields = ['body', 'url', 'request_headers'] def __init__(self, log: CaseLog = None): # 这里是一个彩蛋, 奔驰大G LB(括弧1.3T)