artilleryio / artillery

The complete load testing platform. Everything you need for production-grade load tests. Serverless & distributed. Load test with Playwright. Load test HTTP APIs, GraphQL, WebSocket, and more. Use any Node.js module.
https://www.artillery.io
Mozilla Public License 2.0
8.02k stars 510 forks source link

Show url in final output #221

Open wahmedswl opened 7 years ago

wahmedswl commented 7 years ago

Hi, It would be great if URL which is under test be display in the final output. Currently, when running

artillery quick --duration 60 --rate 10 -n 20 http://api/v1/resource

It gives all necessary information but it miss the url which is being tested and its really cumbersome to scroll up

Phase 0 started - duration: 60s

Report for the previous 10s @ 2016-12-05T18:41:01.850Z
  Scenarios launched:  90
  Scenarios completed: 30
  Requests completed:  1085
  Concurrent users:    298
  RPS sent: 120.55
  Request latency:
    min: 2.4
    max: 148.8
    median: 42.5
    p95: 77.1
    p99: 131.6
  Scenario duration:
    min: 435.1
    max: 5815.5
    median: 2786.8
    p95: 5298.5
    p99: NaN
  Codes:
    200: 1085

Report for the previous 10s @ 2016-12-05T18:41:11.877Z
  Scenarios launched:  100
  Scenarios completed: 14
  Requests completed:  768
  Concurrent users:    1055
  RPS sent: 76.77
  Request latency:
    min: 72.3
    max: 1213.4
    median: 125.1
    p95: 263.2
    p99: 319.3
  Scenario duration:
    min: 6052.6
    max: 14170.2
    median: 8805.7
    p95: 13661
    p99: NaN
  Codes:
    200: 768

Report for the previous 10s @ 2016-12-05T18:41:21.903Z
  Scenarios launched:  100
  Scenarios completed: 11
  Requests completed:  692
  Concurrent users:    1943
  RPS sent: 68.44
  Request latency:
    min: 166.3
    max: 643.5
    median: 233.9
    p95: 481.8
    p99: 549.6
  Scenario duration:
    min: 14608.3
    max: 21907.2
    median: 18759.6
    p95: 21902
    p99: NaN
  Codes:
    200: 692

Report for the previous 10s @ 2016-12-05T18:41:31.927Z
  Scenarios launched:  100
  Scenarios completed: 7
  Requests completed:  684
  Concurrent users:    2866
  RPS sent: 67.58
  Request latency:
    min: 282.4
    max: 1109.2
    median: 344.5
    p95: 700.2
    p99: 736.8
  Scenario duration:
    min: 23656.4
    max: 32668.5
    median: 29220.4
    p95: NaN
    p99: NaN
  Codes:
    200: 684

Report for the previous 10s @ 2016-12-05T18:41:41.945Z
  Scenarios launched:  101
  Scenarios completed: 5
  Requests completed:  686
  Concurrent users:    3811
  RPS sent: 68.53
  Request latency:
    min: 368.8
    max: 1551.9
    median: 423.6
    p95: 863.3
    p99: 914.3
  Scenario duration:
    min: 33509.4
    max: 41872.3
    median: 37508.3
    p95: NaN
    p99: NaN
  Codes:
    200: 686

Report for the previous 10s @ 2016-12-05T18:41:51.967Z
  Scenarios launched:  100
  Scenarios completed: 5
  Requests completed:  665
  Concurrent users:    4761
  RPS sent: 67.06
  Request latency:
    min: 463
    max: 2086.2
    median: 549.2
    p95: 1124.2
    p99: 1297.6
  Scenario duration:
    min: 43338.8
    max: 50712.5
    median: 46369.8
    p95: NaN
    p99: NaN
  Codes:
    200: 665

Report for the previous 10s @ 2016-12-05T18:42:01.990Z
  Scenarios launched:  9
  Scenarios completed: 6
  Requests completed:  614
  Concurrent users:    5252
  RPS sent: 60.69
  Request latency:
    min: 565
    max: 1505.7
    median: 614
    p95: 719
    p99: 1201.5
  Scenario duration:
    min: 54577.3
    max: 60924.1
    median: 57035.4
    p95: NaN
    p99: NaN
  Codes:
    200: 614

Report for the previous 10s @ 2016-12-05T18:42:12.017Z
  Scenarios launched:  0
  Scenarios completed: 5
  Requests completed:  510
  Concurrent users:    4665
  RPS sent: 49.2
  Request latency:
    min: 592.3
    max: 1422.3
    median: 616.6
    p95: 633.2
    p99: 1387.5
  Scenario duration:
    min: 61752.4
    max: 66940.5
    median: 63997.8
    p95: NaN
    p99: NaN
  Codes:
    200: 510

Report for the previous 10s @ 2016-12-05T18:42:22.298Z
  Scenarios launched:  0
  Scenarios completed: 8
  Requests completed:  704
  Concurrent users:    5635
  RPS sent: 65.13
  Request latency:
    min: 554.6
    max: 1749.9
    median: 612
    p95: 665.3
    p99: 1377.4
  Scenario duration:
    min: 71172.4
    max: 79885.4
    median: 73761
    p95: NaN
    p99: NaN
  Codes:
    200: 704

Report for the previous 10s @ 2016-12-05T18:42:32.321Z
  Scenarios launched:  0
  Scenarios completed: 11
  Requests completed:  605
  Concurrent users:    5026
  RPS sent: 58.37
  Request latency:
    min: 534.4
    max: 1625.5
    median: 608
    p95: 666.4
    p99: 1254.4
  Scenario duration:
    min: 80527.5
    max: 89033.9
    median: 84348.3
    p95: 88982.3
    p99: NaN
  Codes:
    200: 605

Report for the previous 10s @ 2016-12-05T18:42:42.344Z
  Scenarios launched:  0
  Scenarios completed: 10
  Requests completed:  593
  Concurrent users:    4929
  RPS sent: 55.53
  Request latency:
    min: 532.9
    max: 1417.1
    median: 599.9
    p95: 635.5
    p99: 651.3
  Scenario duration:
    min: 91608.9
    max: 97528.8
    median: 93992.2
    p95: 97528.8
    p99: NaN
  Codes:
    200: 593

Report for the previous 10s @ 2016-12-05T18:42:52.363Z
  Scenarios launched:  0
  Scenarios completed: 13
  Requests completed:  561
  Concurrent users:    4326
  RPS sent: 57.64
  Request latency:
    min: 501.2
    max: 2153.9
    median: 589
    p95: 1456.4
    p99: 1513.2
  Scenario duration:
    min: 98888.5
    max: 106241.5
    median: 101749.6
    p95: 106202.5
    p99: NaN
  Codes:
    200: 561

Report for the previous 10s @ 2016-12-05T18:43:02.398Z
  Scenarios launched:  0
  Scenarios completed: 18
  Requests completed:  546
  Concurrent users:    4658
  RPS sent: 61.43
  Request latency:
    min: 498.2
    max: 2193.1
    median: 565.4
    p95: 1631.4
    p99: 1729.6
  Scenario duration:
    min: 107151
    max: 115284.5
    median: 111738.2
    p95: 115207.4
    p99: NaN
  Codes:
    200: 546

Report for the previous 10s @ 2016-12-05T18:43:12.418Z
  Scenarios launched:  0
  Scenarios completed: 33
  Requests completed:  871
  Concurrent users:    3538
  RPS sent: 77.3
  Request latency:
    min: 265.5
    max: 1470.9
    median: 450.6
    p95: 1261.3
    p99: 1426.8
  Scenario duration:
    min: 115577
    max: 120370.5
    median: 119332.2
    p95: 120320.6
    p99: NaN
  Codes:
    200: 871

Report for the previous 10s @ 2016-12-05T18:43:22.523Z
  Scenarios launched:  0
  Scenarios completed: 22
  Requests completed:  120
  Concurrent users:    1234
  RPS sent: 31.86
  Request latency:
    min: 270.7
    max: 5404.2
    median: 1873.1
    p95: 4822.8
    p99: 5401.7
  Scenario duration:
    min: 120949.1
    max: 125453.6
    median: 121979.2
    p95: 125364.6
    p99: NaN
  Codes:
    200: 120

Report for the previous 10s @ 2016-12-05T18:43:33.471Z
  Scenarios launched:  0
  Scenarios completed: 11
  Requests completed:  218
  Concurrent users:    719
  RPS sent: 38.25
  Request latency:
    min: 5571.2
    max: 13391
    median: 10740.2
    p95: 12374.3
    p99: 12828.6
  Scenario duration:
    min: 127285
    max: 136910.6
    median: 132158.7
    p95: 136839.3
    p99: NaN
  Codes:
    200: 218
  Errors:
    ETIMEDOUT: 67

Report for the previous 10s @ 2016-12-05T18:43:43.518Z
  Scenarios launched:  0
  Scenarios completed: 65
  Requests completed:  1001
  Concurrent users:    2296
  RPS sent: 78.7
  Request latency:
    min: 179.9
    max: 7273.7
    median: 382.4
    p95: 6111.5
    p99: 7249.7
  Scenario duration:
    min: 135884.4
    max: 141218.5
    median: 139457
    p95: 141032
    p99: 141197.3
  Codes:
    200: 1001

Report for the previous 10s @ 2016-12-05T18:43:53.815Z
  Scenarios launched:  0
  Scenarios completed: 259
  Requests completed:  704
  Concurrent users:    1385
  RPS sent: 58.28
  Request latency:
    min: 19.1
    max: 2202.5
    median: 353.3
    p95: 1955.5
    p99: 2130.7
  Scenario duration:
    min: 120457.5
    max: 143804.6
    median: 133699.4
    p95: 141494.7
    p99: 143284
  Codes:
    200: 704

all scenarios completed
Complete report @ 2016-12-05T18:43:53.858Z
  Scenarios launched:  600
  Scenarios completed: 533
  Requests completed:  11627
  RPS sent: 64.55
  Request latency:
    min: 2.4
    max: 13391
    median: 535
    p95: 1659.9
    p99: 10725.4
  Scenario duration:
    min: 435.1
    max: 143804.6
    median: 127583.3
    p95: 140612.7
    p99: 142788.4
  Scenario counts:
    0: 600 (112.57%)
  Codes:
    200: 11627
  Errors:
    ETIMEDOUT: 67

It will be really great if url is also displayed.

Thanks

hassy commented 7 years ago

Good idea. 👍

ngbravo commented 7 years ago

@hassy I would like to start contributing, and this looks like a good first PR. Could you assign this issue to me?

hassy commented 7 years ago

@ngbravo cool, just send a PR, we don't really use the assign feature on Github

ngbravo commented 7 years ago

@hassy cool. I was just following your contributing guidelines in your readme file. Better update that then :)

mkeeneth commented 6 years ago

PR added https://github.com/shoreditch-ops/artillery/pull/555.