Comments (5)
Thanks @madhugod đ ! Can't reproduce it on Mac, so it could be windows-specific. Will try it out on a windows machine when I have a chance.
from artillery.
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.
@madhugod đ Glad you got it working.
Could you let me know what was your original folder structure like (and where you were running the test from, relative to that)? I'm interested in trying to reproduce your original issue.
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.
We have to document this better, but yes there is a way. It depends what private registry you're using, but it's possible to set some variables that Artillery will pick up to use a private registry. If you end up needing this, let us know!
from artillery.
Hello @bernardobridge
My original folder structure looks like this (minus node_modules folder):
.
âââ login
â  âââ full-funnel.yml
â  âââ functions.js
â  âââ login.yml
âââ package.json
âââ package-lock.json
âââ players-data
âââ bulk.yml
âââ functions.js
âââ generateTokens.js
âââ get.yml
âââ patch-inventory.yml
âââ sample-inventory.json
âââ tokens.csv
I was running artillery commands at the root, example:
artillery run-fargate login/login.yml --region eu-west-1 --count 2 --record --key XXX
from artillery.
Related Issues (20)
- 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
- Negative value in JSON report HOT 1
- artillery is ignoring some scenario steps HOT 7
- Artillery playwright config does not allow 0 timeout HOT 3
- Broken docs rendering HOT 3
- Artillery does not seem to respect NO_PROXY environment variable HOT 1
- JSON Payload interpreted incorrectly when using post HOT 1
- Weird timeouts on test execution in fargate HOT 3
- Artillery-engine-playwright: issue with `multiple batches of metrics for period` when using `pause` HOT 2
- HOW TO GET FORTNITE FREE V BUCKS GENERATOR 2024 FREE V BUCKS CODES FULL LIST
- HOW TO GET FORTNITE FREE V BUCKS GENERATOR 2024 FREE V BUCKS CODES FULL LIST
- âšī¸ Temporary interaction limits in place
- Sending metrics via Pushgateway with basic auth HOT 1
- [Feature Request] Defining the Image of the Fargate Tasks from a private registry
- Lambda script creates a random role with no permissions HOT 4
- Handle processors larger than 256mb on AWS lambda
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.