nitishm / vegeta-server

A RESTful API server for vegeta, a load testing tool written in Go.
MIT License
63 stars 17 forks source link

Support for histogram format for GET /api/v1/report/<attackID> endpoint #55

Closed Shivam010 closed 5 years ago

Shivam010 commented 5 years ago

Fix nitishm#23

The endpoint requires an additional parameter for the time duration bucket. If not provided a default time bucket is used: "[0,500ms,1s,1.5s,2s,2.5s,3s]"

Histogram format endpoint is: Get /api/v1/report/<attackID>?format=histogram&bucket=0,1s,1.5s,2s,2.5s,3s

For default time bucket use: Get /api/v1/report/<attackID>?format=histogram

Shivam010 commented 5 years ago
screenshot 2019-02-25 at 1 12 12 am

Each and every file either has an increment in the coverage or has no change in coverage. But still the coverage is decreased by 0.08%, just because a certain increase in lines. Butterfly effect ! 😅