Closed nitishm closed 5 years ago
The report endpoint returns a JSON report by default.
This task is to provide (query string based) support for the binary encoded format for the GET /api/v1/report?format=binary.
GET /api/v1/report?format=binary
This allows it to be saved in a result.bin file to be used directly with the vegeta CLI tool.
result.bin
This should be as easy as returning the Result member from the AttackDetails struct, which stores the gob encoded binary attack results.
Result
AttackDetails
The report endpoint returns a JSON report by default.
This task is to provide (query string based) support for the binary encoded format for the
GET /api/v1/report?format=binary
.This allows it to be saved in a
result.bin
file to be used directly with the vegeta CLI tool.This should be as easy as returning the
Result
member from theAttackDetails
struct, which stores the gob encoded binary attack results.