Giter Site home page Giter Site logo

Comments (4)

jdelaune avatar jdelaune commented on May 20, 2024 1

No. I'm using Fargate now. Just thought Lambda would just less heavy hitting which is why I was trying it first.

from artillery.

bernardobridge avatar bernardobridge commented on May 20, 2024

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.

jdelaune avatar jdelaune commented on May 20, 2024

If it's not support then I won't continue with my efforts. Thanks :)

from artillery.

bernardobridge avatar bernardobridge commented on May 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.