szkiba / xk6-dotenv

A k6 extension that loads env vars from a .env file.
MIT License
29 stars 11 forks source link

Extension doesn't work with k6 v.0.38 #5

Closed fabiosilva85 closed 1 year ago

fabiosilva85 commented 2 years ago

Each time that try to run this extension on the latest k6 version (v0.38.3) always get this error, followed the entire env file information.

ERRO[0000] Exception raised in test "parse". Failing the test and continuing. TypeError: could not convert function call parameter 0: could not convert FOO = bar SIZE = small to context.Context source=console ERRO[0000] Exception raised in test "stringify". Failing the test and continuing. TypeError: could not convert function call parameter 0: could not convert [object Object] to context.Context source=console ERRO[0000] Exception raised in test "sample". Failing the test and continuing. TypeError: could not convert function call parameter 0: could not convert FOO=bar SIZE=small to context.Context source=console