Comments (5)
Very odd, looks like the dependencies are not being discovered as expected. Will try to repro here!
from artillery.
Did some tests again this morning and I believe this has to do with the fact that the yamls are stored in subfolders.
If I move the yml and js file to the root, I can see all files being bundled.
Test bundle contents:
┌─────────────────────┬─────────┬───────┐
│ Name │ Type │ Notes │
├─────────────────────┼─────────┼───────┤
│ login.yml │ file │ │
├─────────────────────┼─────────┤ │
│ functions.js │ file │ │
├─────────────────────┼─────────┤ │
│ package.json │ file │ │
├─────────────────────┼─────────┤ │
│ package-lock.json │ file │ │
├─────────────────────┼─────────┼───────┤
│ @types/artillery │ package │ │
├─────────────────────┼─────────┼───────┤
│ @types/bcrypt │ package │ │
├─────────────────────┼─────────┼───────┤
│ @types/jsonwebtoken │ package │ │
├─────────────────────┼─────────┼───────┤
│ @types/node │ package │ │
├─────────────────────┼─────────┼───────┤
│ axios │ package │ │
├─────────────────────┼─────────┼───────┤
│ bcrypt │ package │ │
├─────────────────────┼─────────┼───────┤
│ jsonwebtoken │ package │ │
And everything goes as expected.
Note I had another issue when installing packages (error 401) because my package-lock.json
files references our own internal npm repository, which the workers don't have access too because missing the NPM_TOKEN, not sure if their is a solution for this yet, but in my case I didn't use any private package so I just removed the package-lock file in order to let the workers download from the public npmjs repository.
from artillery.
Related Issues (20)
- iam:AttachRolePolicy on resource artilleryio-ecs-worker-role not authorized HOT 2
- Error [ERR_UNSUPPORTED_ESM_URL_SCHEME] when using a artillery runner file with a `.mjs` extension
- Missing actions in the AWS Fargate policy HOT 3
- "Error: No target specified and no environment chosen" in AWS Fargate container HOT 5
- Artillery ignores parenthesis in scenarios names HOT 8
- phase name not showing if it is specified in default HOT 1
- Artillery Parallel Execution
- 2.0.11 Playwright Error reporting logs
- Incorrect request_rate
- Tags not being passed to fargate tasks/containers HOT 1
- Artillery produces ETIMEDOUT error when load testing nginx pseudo-streaming videos
- Lambda uses Node v16 runtime HOT 3
- Playwright Integration improvement and integration with playwright test HOT 1
- playwright engine Getting errors.Cannot read properties of undefined (reading 'goto'): HOT 4
- Artillery doesn't override phases in environments HOT 5
- Parallel execution and launchOption not working from .yml file HOT 1
- Mismatch Datadog metrics vs Artillery Json report HOT 12
- Random data (from `fake-data`) doesn't work in `before` section HOT 3
- File upload using Playwright engine net::ERR_FILE_NOT_FOUND HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from artillery.