Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output final metrics when interrupted with Ctrl+C #3406

Open
ash211 opened this issue Nov 14, 2024 · 0 comments
Open

Output final metrics when interrupted with Ctrl+C #3406

ash211 opened this issue Nov 14, 2024 · 0 comments

Comments

@ash211
Copy link

ash211 commented Nov 14, 2024

Version info:

Artillery: 2.0.21
Node.js:   v22.9.0
OS:        darwin

Running this command:

artillery run artillery-load-test.yml
<wait 30sec>
<Press Ctrl+C>

I expected to see this happen:

Artillery to emit a final console output of the metrics that is the aggregation of all accumulated metrics so far, like this:

apdex.frustrated: .............................................................. 12
apdex.satisfied: ............................................................... 0
apdex.tolerated: ............................................................... 1
errors.Failed capture or match: ................................................ 13
http.codes.429: ................................................................ 13
http.downloaded_bytes: ......................................................... 0
http.request_rate: ............................................................. 100/sec
http.requests: ................................................................. 748
http.response_time:
  min: ......................................................................... 1538
  max: ......................................................................... 5661
  mean: ........................................................................ 3750.4
  median: ...................................................................... 3605.5
  p95: ......................................................................... 5272.4
  p99: ......................................................................... 5272.4
http.response_time.4xx:
  min: ......................................................................... 1538
  max: ......................................................................... 5661
  mean: ........................................................................ 3750.4
  median: ...................................................................... 3605.5
  p95: ......................................................................... 5272.4
  p99: ......................................................................... 5272.4
http.responses: ................................................................ 13
plugins.expect.failed: ......................................................... 52
plugins.expect.failed.contentType: ............................................. 13
plugins.expect.failed.equals: .................................................. 26
plugins.expect.failed.statusCode: .............................................. 13
vusers.created: ................................................................ 748
vusers.created_by_name.0: ...................................................... 748
vusers.failed: ................................................................. 13

Instead, this happened:

artillery ended with no final output.

Files being used: (any test yml file that runs for more than a few seconds)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant