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

Sometimes my artillery run with playwright failures fails to record any traces #3418

Open
jameswilliams-iml opened this issue Nov 26, 2024 Discussed in #3389 · 3 comments

Comments

@jameswilliams-iml
Copy link

Discussed in #3389

Good afternoon,
Is there any chance this issue above is something that can be checked out? I get runs with failures which are not producing the Traces and these would be really useful.
Thank you

@jameswilliams-iml
Copy link
Author

@hassy
Copy link
Member

hassy commented Nov 27, 2024

thanks @jameswilliams-iml! this can happen due to how trace recordings work. For performance reasons Artillery only records traces for 3 VUs at a time (relevant code here) - so if it happens that none of those VUs failed, no traces will be recorded. This is configurable - you can increase it with something like this:

config:
  engines:
    playwright:
      trace:
        enabled: true
        maxConcurrentRecordings: 10

The exact number may need to be tweaked depending on how many VUs are being created in total / are failing.

@jameswilliams-iml
Copy link
Author

ok thank @hassy I will give this a try

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

2 participants