MCPcopy
hub / github.com/httprunner/httprunner / EndTransaction

Method EndTransaction

hrp/step_request.go:718–726  ·  view source on GitHub ↗

EndTransaction ends a transaction.

(name string)

Source from the content-addressed store, hash-verified

716
717// EndTransaction ends a transaction.
718func (s *StepRequest) EndTransaction(name string) *StepTransaction {
719 s.step.Transaction = &Transaction{
720 Name: name,
721 Type: transactionEnd,
722 }
723 return &StepTransaction{
724 step: s.step,
725 }
726}
727
728// SetThinkTime sets think time.
729func (s *StepRequest) SetThinkTime(time float64) *StepThinkTime {

Callers 1

testcase_test.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected