k6 icon indicating copy to clipboard operation
k6 copied to clipboard

special character in application name not working

Open arpitaso opened this issue 1 year ago • 1 comments
trafficstars

Brief summary

the k6 test does not execute if there is a special character in the applicatiionName example: applicationName: Test T&T but this one works applicationName: Test TandT

k6 version

k6 v0.47.0 (go1.21.2, darwin/arm64)

OS

macOS 11

Docker version and image (if applicable)

No response

Steps to reproduce the problem

arguments: --tag test_id=556 --tag region=abc --tag provider=azure --tag platform_name=aa --tag product_id=Test T&T --tag env=preprod --tag app=a

Expected behaviour

The test should execute successfully

Actual behaviour

The test is not executing successfully because the special character in applicationName: Test T&T is not being executed, ideally it should execute

arpitaso avatar Dec 20 '23 12:12 arpitaso

Hey @arpitaso, can you detail what you mean by applicationName? It isn't a k6 specifics.

In any case, can you post the complete k6 command you're running, please? Are you running from a terminal? Which shell? Because special characters have special functions in the shell. Probably the reason is because you're not escaping the values or making clear it is a string by quoting it.

It doesn't seem to be a bug so I removed the label.

codebien avatar Dec 21 '23 11:12 codebien