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

Lambda environment variable not unwrapped #2552

Closed
jdelaune opened this issue Mar 8, 2024 · 1 comment
Closed

Lambda environment variable not unwrapped #2552

jdelaune opened this issue Mar 8, 2024 · 1 comment

Comments

@jdelaune
Copy link

jdelaune commented Mar 8, 2024

Version info: 2.0.7

Artillery: 2.0.7
Node.js:   v20.10.0
OS:        darwin

Running this command:

npx artillery run-lambda -e mysql8 --region us-east-1 ./scenarios/booking_flow.yml

I expected to see this happen:

Run the test.

Instead, this happened:

Error: ENOENT: no such file or directory, copyfile '/Users/***/Documents/load_test/data/{{ $environment }}-users.csv' -> '/var/folders/9_/1kr17s3n6cz7kprrqpbnw5g40000gn/T/d-202428-15076-1d8zp8r.3okt/data/{{ $environment }}-users.csv'

Files being used:

  payload:
    path: "../data/{{ $environment }}-users.csv"
    fields:
      - "email"
      - "password"
    skipHeader: true
@bernardobridge
Copy link
Contributor

Hello @jdelaune 👋 and others

From Artillery v2.0.14, environment variables should now be unwrapped correctly in Lambda. If that is not the case, feel free to let us know and we'll take a look!

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