k6 icon indicating copy to clipboard operation
k6 copied to clipboard

Detecting and filtering invalid environment names

Open olegbespalov opened this issue 3 years ago • 0 comments

What?

Align the --include-system-env-vars with the --env in terms of the name validation.

In case of detecting an invalid name issue, the user will be warned.

 env -i 'LOREM-ISPUM=hello' IPSUM=lorem ./k6 run --include-system-env-vars samples/http_2.js

As the result, archive metadata should contain only IPSUM=lorem.

Why?

Closes: #2650

olegbespalov avatar Aug 18 '22 14:08 olegbespalov