mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-06 16:07:45 +08:00
feat: add step start time in step result
This commit is contained in:
@@ -564,8 +564,10 @@ func (r *SessionRunner) Start(givenVars map[string]interface{}) error {
|
||||
}
|
||||
|
||||
// run step
|
||||
stepStartTime := time.Now().Unix()
|
||||
stepResult, err = step.Run(r)
|
||||
stepResult.Name = stepName + loopIndex
|
||||
stepResult.Time = stepStartTime
|
||||
|
||||
r.updateSummary(stepResult)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user