HTTP load generator, ApacheBench (ab) replacement
Go
Fix a few typos
Ruben Kerkhof6c983d86b90d
diff --git a/boomer/print.go b/boomer/print.goindex 69942d3..cab2b6c 100644--- a/boomer/print.go+++ b/boomer/print.go@@ -94,7 +94,7 @@ func (r *report) print() {fmt.Printf(" Average:\t%4.4f secs.\n", r.average)fmt.Printf(" Requests/sec:\t%4.4f\n", r.rps)if r.sizeTotal > 0 {- fmt.Printf(" Total Data Recieved:\t%d bytes.\n", r.sizeTotal)+ fmt.Printf(" Total Data Received:\t%d bytes.\n", r.sizeTotal)fmt.Printf(" Response Size per Request:\t%d bytes.\n", r.sizeTotal/int64(len(r.lats)))}r.printStatusCodes()diff --git a/boomer/run_test.go b/boomer/run_test.goindex b1763a2..23bdd5e 100644--- a/boomer/run_test.go+++ b/boomer/run_test.go@@ -160,7 +160,7 @@ func TestContentLengthIfExists(t *testing.T) {boomer.Run()if boomer.rpt.sizeTotal != 200 {- t.Errorf("Expected Total Data Recieved 200 bytes, found %v", boomer.rpt.sizeTotal)+ t.Errorf("Expected Total Data Received 200 bytes, found %v", boomer.rpt.sizeTotal)}}@@ -181,6 +181,6 @@ func TestContentLengthIfDontExists(t *testing.T) {boomer.Run()if boomer.rpt.sizeTotal != 0 {- t.Errorf("Expected Total Data Recieved 200 bytes, found %v", boomer.rpt.sizeTotal)+ t.Errorf("Expected Total Data Received 200 bytes, found %v", boomer.rpt.sizeTotal)}}