mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
feat: add --profile flag for har2case to support overwrite headers/cookies with specified yaml/json profile file
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
headers:
|
||||
Content-Type: "application/x-www-form-urlencoded"
|
||||
cookies:
|
||||
CASTGC: "TGT"
|
||||
UserName: "debugtalk"
|
||||
@@ -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
Reference in New Issue
Block a user