refactor: hrp build

This commit is contained in:
debugtalk
2022-05-28 15:51:21 +08:00
parent 43c800783a
commit ebc0a3768c
30 changed files with 92 additions and 398 deletions

View File

@@ -24,7 +24,7 @@ teststeps:
method: POST
url: /post
headers:
User-Agent: funplugin/${get_version()}
User-Agent: ${get_user_agent()}
Content-Type: "application/x-www-form-urlencoded"
body: "foo1=$foo1&foo2=$foo3"
validate:

View File

@@ -8,7 +8,7 @@
"expect_foo2": "config_bar2"
},
"headers": {
"User-Agent": "funplugin/${get_version()}"
"User-Agent": "${get_user_agent()}"
},
"base_url": "https://postman-echo.com",
"verify": false,

View File

@@ -6,7 +6,7 @@ config:
expect_foo1: config_bar1
expect_foo2: config_bar2
headers:
User-Agent: funplugin/${get_version()}
User-Agent: ${get_user_agent()}
verify: False
export: ["foo3"]