feat: add --profile flag for har2case to support overwrite headers/cookies with specified yaml/json profile file

This commit is contained in:
debugtalk
2022-03-26 10:44:19 +08:00
parent 1a93f0acb0
commit da0bec1f77
16 changed files with 190 additions and 1136 deletions

View File

@@ -1,4 +1,4 @@
headers:
Content-Type: "application/x-www-form-urlencoded"
cookies:
CASTGC: "TGT"
UserName: "debugtalk"

View File

@@ -6,7 +6,7 @@ import (
"github.com/httprunner/httprunner/hrp"
)
// generated by examples/hrp/har/demo.har using HttpRunner v3.1.6
// generated by examples/data/har/demo.har using HttpRunner v3.1.6
var (
demoHttpRunnerJSONPath hrp.TestCasePath = "demo_httprunner.json"
demoHttpRunnerYAMLPath hrp.TestCasePath = "demo_httprunner.yaml"

File diff suppressed because it is too large Load Diff