nitishm / vegeta-server

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

Add support for histogram format for GET /api/v1/report endpoint #23

Closed nitishm closed 5 years ago

nitishm commented 5 years ago

The report endpoint returns a JSON report by default. This task is to provide (query string based) support for the histogram application/text format for the GET /api/v1/report?format=histogram.

Shivam010 commented 5 years ago

You are, actually talking about list all reports request: GET /api/v1/report?format=histogram or mean to provide the feature for get report by id request GET /api/v1/report/<attackID>?format=histogram.

I have suggestions and a PR, ready for the latter one. And if it is actually about list all request, then I would love to know more about it.

nitishm commented 5 years ago

@shivam010 it's for the latter GET /api/v1/report/<attackID>?format=histogram

Feel free to submit a PR