You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have multiple node versions but currently points to v19.9.0
Installed artillery globally too.
Running this command: artillery run hello-world.yml
I expected to see this happen:
There shouldn't be any errors
Instead, this happened:
I get the error:
WARNING: engine processor specified but module artillery-engine-processor could not be loaded
Error: Cannot find module 'artillery-engine-processor'
Require stack:
- /Users/nnn/.nvm/versions/node/v19.9.0/lib/node_modules/artillery/node_modules/@artilleryio/int-core/lib/runner.js
- /Users/nnn/.nvm/versions/node/v19.9.0/lib/node_modules/artillery/node_modules/@artilleryio/int-core/index.js
- /Users/nnn/.nvm/versions/node/v19.9.0/lib/node_modules/artillery/lib/artillery-global.js
- /Users/nnn/.nvm/versions/node/v19.9.0/lib/node_modules/artillery/lib/platform/local/worker.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1090:15)
at Module._load (node:internal/modules/cjs/loader:934:27)
at Module.require (node:internal/modules/cjs/loader:1157:19)
at require (node:internal/modules/helpers:119:18)
Files being used:
config:
target: https://www.artillery.ioengines:
playwright: {}processor: './tests/load/helloWorld.spec.ts'scenarios:
- engine: playwrighttestFunction: 'helloFlow'import { type Page } from '@playwright/test';
processor should not be under engines, otherwise Artillery will try to use an engine with that name. It should be under the root of config (i.e. config.processor).
Thanks for swift response. Sorry for the ignorance but I’m a bit confused on this as I just installed artillery globally as per instructions. Then on my project’s root directory, I run artillery via the yaml file.
Thanks for swift response. Sorry for the ignorance but I’m a bit confused on this as I just installed artillery globally as per instructions. Then on my project’s root directory, I run artillery via the yaml file.
No problem @poponuts ! Just to confirm, this is what your YAML file should look like:
Version info:
I have multiple node versions but currently points to
v19.9.0
Installed artillery globally too.
Running this command:
artillery run hello-world.yml
I expected to see this happen:
There shouldn't be any errors
Instead, this happened:
I get the error:
Files being used:
The text was updated successfully, but these errors were encountered: