mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-06 08:19:45 +08:00
feat: report testcase as a whole Action transaction, inspired by LoadRunner
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user