mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-03 14:59:38 +08:00
feat: print http stat with color
This commit is contained in:
@@ -350,9 +350,7 @@ func runStepRequest(r *SessionRunner, step *TStep) (stepResult *StepResult, err
|
||||
if r.HTTPStatOn() {
|
||||
httpStat.Finish()
|
||||
stepResult.HttpStat = httpStat.Durations()
|
||||
log.Info().
|
||||
Interface("httpstat(ms)", httpStat.Durations()).
|
||||
Msg("HTTP latency statistics")
|
||||
httpStat.Print()
|
||||
}
|
||||
|
||||
// new response object
|
||||
|
||||
Reference in New Issue
Block a user