feat: report testcase as a whole Action transaction, inspired by LoadRunner

This commit is contained in:
debugtalk
2021-12-20 18:38:36 +08:00
parent 310b89b84b
commit 1958883a24
2 changed files with 12 additions and 7 deletions
+5 -3
View File
@@ -206,9 +206,11 @@ func (r *hrpRunner) runStepTransaction(transaction *Transaction) (stepResult *st
Msg("transaction")
stepResult = &stepData{
name: transaction.Name,
stepType: stepTypeTransaction,
success: true,
name: transaction.Name,
stepType: stepTypeTransaction,
success: true,
elapsed: 0,
responseLength: 0, // TODO: record transaction total response length
}
// create transaction if not exists