mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-10 23:12:41 +08:00
feat: report GA4 events for hrp cmd
This commit is contained in:
@@ -96,7 +96,7 @@ func (b *HRPBoomer) Run(testcases ...ITestCase) {
|
||||
startTime := time.Now()
|
||||
defer func() {
|
||||
// report boom event
|
||||
sdk.SendGA4Event("hrp_boom", map[string]interface{}{
|
||||
sdk.SendGA4Event("hrp_boomer_run", map[string]interface{}{
|
||||
"engagement_time_msec": time.Since(startTime).Milliseconds(),
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user