question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: arrivalRate and arrivalCount in config are not respected in test run

See original GitHub issue

Versions

Node: v8.1.3 Artillery: v1.6.0-2

Backround

I have a .yml script that has the intent of running a high volume burst of requests. (See example-file.txt) Details:

  • One phase with duration: 1 and arrivalCount: 340
  • Eight scenarios, each with one request

Expected result

When the test is run, 340 scenarios should be fired

Actual result

When the test is run, 500 scenarios are fired, final log below:

Complete report @ 2017-07-12T14:43:03.286Z
  Scenarios launched:  500
  Scenarios completed: 500
  Requests completed:  500
  RPS sent: 8.89
  Request latency:
    min: 42.8
    max: 54254.8
    median: 6674.8
    p95: 52835.3
    p99: 53474.8
  Scenario duration:
    min: 51.3
    max: 54266.4
    median: 6695.5
    p95: 52840
    p99: 53490
  Scenario counts:
    /api/user-settings/featureToggles: 76 (15.2%)
    /dashboard: 60 (12%)
    /api/dealer/dashboardCards: 81 (16.2%)
    /api/user-settings/profile: 54 (10.8%)
    /api/dealer/stepsToGrow: 60 (12%)
    /api/user-settings/users/{{ email }}: 57 (11.4%)
    /api/dealer/ensembleView: 54 (10.8%)
    /api/user-settings/ensembles?userId={{ user }}: 58 (11.6%)
  Codes:
    200: 500

The same thing happens when arrivalCount: 240, but the actual count is 250 scenarios fired.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
hassycommented, Jul 12, 2017

The bug’s been fixed, the fix will be available in the next release of Artillery (to be published this week).

1reaction
hassycommented, Jul 12, 2017

Thanks. I’m able to reproduce the bug.

Read more comments on GitHub >

github_iconTop Results From Across the Web

shoreditch-ops/artillery - Gitter
hi i am new to artillery i wanna test my socket io app can someone help me out ... if I set duration:200...
Read more >
Test Scripts - Artillery.io
An Artillery test script is a YAML file composed of two main sections: config and scenarios . The scenarios section contains definitions of...
Read more >
arrivalRate lower than 1 using Artillery - load testing
I'd now like to send requests even slower (e.g. 1 every 5 seconds) but it seems that this cannot be done using the...
Read more >
Artillery.txt - Performance testing is used to determine...
arrivalRate : 20scenarios:- flow:- put:url: "/api/users/3"json:job: "SE"command to run the sample.yml=>artillery run sample.yml -o output.txtconfig:target: ...
Read more >
ETSI ES 283 039-2 V3.1.1 (2010-01)
In case of dispute, the reference shall be the printing on ETSI printers of the PDF version kept on a specific network drive...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found