mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-22 00:29:37 +08:00
feat: add flag --log-plugin to turn on plugin logging
This commit is contained in:
@@ -77,7 +77,7 @@ func TestRunRequestRun(t *testing.T) {
|
||||
Config: NewConfig("test").SetBaseURL("https://postman-echo.com"),
|
||||
TestSteps: []IStep{stepGET, stepPOSTData},
|
||||
}
|
||||
runner := NewRunner(t).SetDebug(true).newCaseRunner(testcase)
|
||||
runner := NewRunner(t).SetRequestsLogOn().newCaseRunner(testcase)
|
||||
if _, err := runner.runStep(0, testcase.Config); err != nil {
|
||||
t.Fatalf("tStep.Run() error: %s", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user