Comments (4)
No. I'm using Fargate
now. Just thought Lambda
would just less heavy hitting which is why I was trying it first.
from artillery.
Hello @jdelaune 👋 .
First, a couple of notes:
- Please don't include
artillery-engine-playwright
as a dependency. Artillery itself bundles it, so it's unneeded. Playwright
is also not needed, and in fact we recommend not installing it as a dependency unless you pin to the specific version Artillery is using, since it installs specific browser versions for compatibility.
But the actual reason this is happening is likely due to the Lambda code which detects dependencies is picking up your package.json
and installing everything there, so it's installing artillery again, etc (causing the bundle size to go quite high).
To prevent this, can you try changing the scenario
location to not be in the same folder where the package.json is? That should prevent it detecting the package.json
and installing all those dependencies that are likely causing this. Thanks!
Also, just an aside, but Playwright is not compatible with running tests on Lambda. If you need to run Playwright tests in distributed mode, please use Fargate.
from artillery.
If it's not support then I won't continue with my efforts. Thanks :)
from artillery.
Hi @jdelaune , just out of curiosity, anything preventing you from using Fargate
instead of Lambda
? It works in a very similar way to how Lambda would and should require minimal effort to setup, but the support is much more enhanced from our side. Thanks!
from artillery.
Related Issues (20)
- "histogram" event is not being triggered when using an event listener in plugin HOT 1
- YAML errors out when using before and after scenario hooks in YAML HOT 4
- We need the total of Failed users per phase HOT 1
- artillery-engine-processor could not be loaded
- Cannot find module 'artillery-engine-processor' HOT 3
- Error: Cookie not in this host's domain. Cookie
- errors.Cannot read properties of undefined (reading '0') HOT 9
- Example custom plugin does not work when adding a processor function HOT 5
- Using token generated from config.yml in scenarios/file1.yml
- ARTILLERY_CLOUD_API_KEY has no effect in .env file HOT 3
- Issues with playwright engine and target url as baseURL HOT 5
- Character limit of `--dotenv` in `run-fargate`
- Cannot find module run-fargate.js on a Multiple Scenario specs.
- InvalidParameterValueException: Unzipped size must be smaller than 262144000 bytes with artillery lambda HOT 5
- Headers in default Playwright config values are not being reflected in Artillery performance tests HOT 2
- How to generate a HTML report HOT 1
- Mock data update while running the config.yml file
- Playwright storagestage filename from payload fields HOT 2
- load data from CSV HOT 4
- Getting triggerUncaughtException for artillery 2.0.9 with Node 18.17.0 on Windows
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.