tag1consulting / goose

Load testing framework, inspired by Locust
https://tag1.com/goose
Apache License 2.0
807 stars 70 forks source link

provide option to only run a configurable number of iterations of Scenarios #477

Closed jeremyandrews closed 2 years ago

jeremyandrews commented 2 years ago

A new SCENARIO METRICS table makes it clear that --iterations was used (in this case --iterations 2):

 === PER SCENARIO METRICS ===
 ------------------------------------------------------------------------------
 Name                     |  # users |  # times run | scenarios/s | iterations
 ------------------------------------------------------------------------------
 1: AnonBrowsingUser      |        9 |           18 |        2.25 |       2.00
 2: AuthBrowsingUser      |        3 |            6 |        0.75 |       2.00
 -------------------------+----------+--------------+-------------+------------
 Aggregated               |       12 |           24 |        3.00 |       2.00
 ------------------------------------------------------------------------------
 Name                     |    Avg (ms) |        Min |         Max |     Median
 ------------------------------------------------------------------------------
   1: AnonBrowsingUser    |        1056 |        939 |       1,189 |        939
   2: AuthBrowsingUser    |        1565 |      1,433 |       1,628 |      1,433
 -------------------------+-------------+------------+-------------+-----------
 Aggregated               |        1183 |        939 |       1,628 |        939

This new table also includes a graph in the --report-file:

image