Skip to content

Using *.js configuration file with run-lambda fails. #3583

@csenk

Description

@csenk

Version info:

Artillery: 2.0.23
Node.js:   v20.16.0
OS:        darwin

Running this command:

artillery run-lambda [...] performance-tests.js

I expected to see this happen:

That the tests are running the same as they are running locally.

Instead, this happened:

While preparing the lambda bundle at some point the JS file is being processed by js-yaml.
This naturally fails with something along the line of YAMLException: end of the stream or a document separator is expected at line 1, column 13:

I think it's because there is a check for *.ts but not for *.js in createBOM.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions