mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-20 23:59:49 +08:00
feat: log action params in summary
This commit is contained in:
10
hrp/step.go
10
hrp/step.go
@@ -1,5 +1,7 @@
|
||||
package hrp
|
||||
|
||||
import "github.com/httprunner/httprunner/v4/hrp/pkg/uixt"
|
||||
|
||||
type StepType string
|
||||
|
||||
const (
|
||||
@@ -49,10 +51,10 @@ type TStep struct {
|
||||
|
||||
// one step contains one or multiple actions
|
||||
type ActionResult struct {
|
||||
Name string `json:"name"` // action name
|
||||
StartTime int64 `json:"start_time"` // action start time
|
||||
Elapsed int64 `json:"elapsed_ms"` // action elapsed time(ms)
|
||||
Error error `json:"error"` // action execution result
|
||||
uixt.MobileAction `json:",inline"`
|
||||
StartTime int64 `json:"start_time"` // action start time
|
||||
Elapsed int64 `json:"elapsed_ms"` // action elapsed time(ms)
|
||||
Error error `json:"error"` // action execution result
|
||||
}
|
||||
|
||||
// one testcase contains one or multiple steps
|
||||
|
||||
Reference in New Issue
Block a user