ReportJSON

This commit is contained in:
Tomás Senart
2013-09-10 13:45:01 +01:00
parent 6e9f34846b
commit ee9a1a0954
4 changed files with 42 additions and 15 deletions

View File

@@ -30,7 +30,7 @@ Usage of vegeta:
-ordering="random": Attack ordering [sequential, random]
-output="stdout": Reporter output file
-rate=50: Requests per second
-reporter="text": Reporter to use [text, plot:timings]
-reporter="text": Reporter to use [text, json, plot:timings]
-targets="targets.txt": Targets file
```
@@ -75,6 +75,24 @@ Error Set:
Server Timeout
Page Not Found
```
##### -reporter=json
```json
{
"total_requests": 50,
"total_timing": 34779791,
"mean_timing": 695595,
"total_bytes_in": 272850,
"mean_bytes_in": 5457,
"total_bytes_out": 0,
"mean_bytes_out": 0,
"total_success": 50,
"mean_success": 1,
"status_codes": {
"200": 50
},
"errors": []
}
```
##### -reporter=plot:timings
Plots the request timings in SVG format.
![plot](https://dl.dropboxusercontent.com/u/83217940/plot.svg)