#582·vegeta

Incorrect computation of requests rate and throughput while creating Vegeta report on multiple binary files

Author: ksingh7Created Oct 5, 2021Updated Oct 8, 2025

Version and Runtime

vegeta version = v12.8.4

Expected Behaviour

This bug report is for vegeta report subcommand. In a situation when we want to create a final report from multiple bin files, IMO there is some calculation mistake specially for Requests Rate and Requests Throughput

Please refer the screenshot, here i ran 2 tests and then i tried to create a report using two different bin files. Vegeta report merged (calculated) all parameters correctly except the highlighted one.

image

Ideally the correct output should look like this

Requests      [total, rate, throughput]         30000, 1000.06, 889.16

Actual Behaviour

Instead of

Requests      [total, rate, throughput]         30000, 256.78, 256.74

Steps to Reproduce

  1. echo "GET http://service1:3000" | ./vegeta attack -duration=30s -rate=500 | tee results1.bin
  2. echo "GET http://service1:3000" | ./vegeta attack -duration=30s -rate=500 | tee results2bin
  3. ./vegeta report *.bin

Additional Context

Its seem to be just calculation mistake while calculating rate and throughput.