feat: support v3 format debugtalk.py when executing hrp run/boom

This commit is contained in:
xucong053
2022-05-27 11:20:21 +08:00
parent 726e566668
commit 5c2be8d548
32 changed files with 1386 additions and 67 deletions

View File

@@ -19,7 +19,7 @@
"variables": {
"foo1": "${ENV(USERNAME)}",
"foo2": "bar21",
"sum_v": "${sum_two_int(1, 2)}"
"sum_v": "${SumTwoInt(1, 2)}"
},
"request": {
"method": "GET",
@@ -30,7 +30,7 @@
"sum_v": "$sum_v"
},
"headers": {
"User-Agent": "funplugin/${get_version()}"
"User-Agent": "funplugin/${GetVersion()}"
}
},
"extract": {
@@ -73,7 +73,7 @@
"method": "POST",
"url": "/post",
"headers": {
"User-Agent": "funplugin/${get_version()}",
"User-Agent": "funplugin/${GetVersion()}",
"Content-Type": "text/plain"
},
"body": "This is expected to be sent back as part of response body: $foo1-$foo2-$foo3."
@@ -102,7 +102,7 @@
"method": "POST",
"url": "/post",
"headers": {
"User-Agent": "funplugin/${get_version()}",
"User-Agent": "funplugin/${GetVersion()}",
"Content-Type": "application/x-www-form-urlencoded"
},
"body": "foo1=$foo1&foo2=$foo2&foo3=$foo3"