All Products
Search
Document Center

Performance Testing:How request bandwidth and response bandwidth are calculated in PTS

Last Updated:Mar 11, 2026

Performance Testing Service (PTS) uses different methods to calculate request bandwidth and response bandwidth compared to Server Load Balancer (SLB) and Elastic Compute Service (ECS).

What PTS includes in bandwidth calculations

MetricWhat is measuredDetails
Request bandwidthRequest body onlyThe byte size of the HTTP request body. Request headers are excluded.
Response bandwidthResponse header + response bodyThe combined byte size of the HTTP response header and response body. The response body size can also be derived from the Content-Length header.

How bandwidth is aggregated in test reports

PTS reports bandwidth as an average rate (KB/s) per load generator, then aggregates the values depending on how many generators are used:

  • Single load generator -- The report displays the average request bandwidth and average response bandwidth recorded during the test.

  • Multiple load generators -- The report sums each generator's average bandwidth: Total bandwidth = Generator A average + Generator B average + ...

Examples

Single load generator

If a single generator records an average response bandwidth of 20 KB/s and an average request bandwidth of 15 KB/s during the test, the PTS performance testing report displays:

MetricValue
Request bandwidth15 KB/s
Response bandwidth20 KB/s

Multiple load generators

Two load generators, A and B, produce the following averages during a test:

GeneratorRequest bandwidthResponse bandwidth
A15 KB/s20 KB/s
B25 KB/s30 KB/s
Report total40 KB/s50 KB/s