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

Cannot set properties of undefined #41

Open
gabor386 opened this issue Feb 21, 2023 · 1 comment
Open

Cannot set properties of undefined #41

gabor386 opened this issue Feb 21, 2023 · 1 comment

Comments

@gabor386
Copy link

Is anybody face this issue while running artillery script?

My env:

/environment $ npm -v
8.19.3
:~/environment $ node -v
v16.19.0
~/environment $ artillery -v
Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
(Use node --trace-warnings ... to show where the warning was created)

    ___         __  _ ____

_____/ | _/ /() / / _______ __ ___
// /| | / / __/ / / / _ / / / / //
/
/ ___ |/ / / /
/ / / / __/ / / /
/ //
/
/ |
/
/ _
///_/_
// _ /
/____/

VERSION INFO:

Artillery Core: 2.0.0-27
Artillery Pro: not installed (https://artillery.io/product)

Node.js: v16.19.0
OS: linux

ERROR MESSAGE:

Phase completed: unnamed (index: 0, duration: 5s) 14:03:12(+0000)


Metrics for period to: 14:03:10(+0000) (width: 2.494s)

errors.Cannot set properties of undefined (setting 'User-Agent'): .............. 6
vusers.created: ................................................................ 6
vusers.created_by_name.0: ...................................................... 6
vusers.failed: ................................................................. 6

@marti-jorda-roca
Copy link

Hi this happens if we do not define any header in the artillery yaml. I've created a PR that corrects this .

But you can set a dummy header and for me it worked.

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