artilleryio / artillery

The complete load testing platform. Everything you need for production-grade load tests. Serverless & distributed. Load test with Playwright. Load test HTTP APIs, GraphQL, WebSocket, and more. Use any Node.js module.
https://www.artillery.io
Mozilla Public License 2.0
8.04k stars 511 forks source link

plugin:expect Not running in a worker #1177

Closed oleg-koval closed 3 years ago

oleg-koval commented 3 years ago

Getting such debug info:

artillery -v                               

ARTILLERY DEV PREVIEW 🚀
Please report bugs on https://github.com/artilleryio/artillery/issues

artillery/2.0.0-1 darwin-x64 node-v12.22.1

artillery-plugin-expect version - 2.0.0-2

â ‹   plugin:expect Not running in a worker, exiting +0ms
â ´ 2021-09-30T10:07:57.176Z plugin:expect Not running in a worker, exiting
â ¦ 2021-09-30T10:07:57.224Z plugin:expect Not running in a worker, exiting
2021-09-30T10:07:57.252Z plugin:expect Not running in a worker, exiting
â § 2021-09-30T10:07:57.273Z plugin:expect Not running in a worker, exiting
2021-09-30T10:07:57.308Z plugin:expect Not running in a worker, exiting
Phase started: Warm up (index: 0, duration: 60s) 13:07:57(+0300)

expect does not work for me, how it can be solved?

hassy commented 3 years ago

hi @oleg-koval 👋 this should now be fixed in the most recent version of the plugin + Artillery v2.0.0-2

oleg-koval commented 3 years ago

hi @hassy

Updated artillery + plugin to version you said:

artillery -v

ARTILLERY DEV PREVIEW 🚀 Please report bugs on https://github.com/artilleryio/artillery/issues

artillery/2.0.0-2 darwin-x64 node-v12.22.1

â ‹   plugin:expect Not running in a worker, exiting +0ms
â ¼ 2021-10-05T11:52:38.816Z plugin:expect Initialized
hassy commented 3 years ago

do you see the output from the plugin on the terminal? that "not running in a worker, exiting" message is just a diagnostic message which can be ignored

hassy commented 3 years ago

Should look like something like this:

0_6__tmux__--plugin-expect_

oleg-koval commented 3 years ago

@hassy looks fine, you right, the message was confusing

hassy commented 3 years ago

awesome 🙌 thanks for confirming!