flood-io / element

💦Load test your app using real web browsers
https://element.flood.io
Apache License 2.0
354 stars 43 forks source link

Error thrown when visiting url with --mu #538

Open mrvdot opened 3 years ago

mrvdot commented 3 years ago

Describe the bug Running a script with the --mu flag immediately fails with Method Promise.prototype.then called on incompatible receiver [object Object].

To Reproduce Steps to reproduce the behavior:

  1. Run a simple script (see error.perf.txt, renamed to .txt for Github) with --mu flag
  2. See error in console log, followed by iteration # 2 stalling out with no progress

Expected behavior The script should work

Screenshots image

Desktop (please complete the following information):

Additional context Discovered when running against a previously working script, seems to be a new issue.

mrvdot commented 3 years ago

Update, it appears that installing element-cli locally (in addition to globally) fixes the issue, even though it's the same version (2.0.4)