diff options
Diffstat (limited to 'attack_result.go')
| -rw-r--r-- | attack_result.go | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/attack_result.go b/attack_result.go index f2cc132..544e886 100644 --- a/attack_result.go +++ b/attack_result.go @@ -30,19 +30,20 @@ const ( // AttackResult represent the output from load testing. // type AttackResult struct { - mtx sync.Mutex + fout *os.File + encoder vegeta.Encoder + metrics *vegeta.Metrics + hist *vegeta.Histogram TargetID string // ID of Target. HttpTargetID string // ID of HTTP target which own the result. Name string // Name of output file without path. - TextReport []byte // TextReport the result reported as text. - HistReport []byte // HistReport the result reported as histogram text. + fullpath string + + TextReport []byte // TextReport the result reported as text. + HistReport []byte // HistReport the result reported as histogram text. - fullpath string - fout *os.File - encoder vegeta.Encoder - metrics *vegeta.Metrics - hist *vegeta.Histogram + mtx sync.Mutex } // |
