Open w1kman opened 3 years ago
k6 javascript API check(val, sets, [tags]) - CLI - Windows 10 - from both the command prompt and PowerShell - returns this for the check mark
https://github.com/loadimpact/k6/issues/957 shows that the k6 output in PowerShell has some artifacts, like µs
instead of µs
and some glitches in the logo.
Seems like Jenkins might have some of the same issues: https://github.com/loadimpact/k6/issues/1294
I'll rename this issue to be a more generic catch-all for all such visual glitches and UI problems in k6, so we don't have a bunch of related issues on the topic. And I guess the only "fix" for these would be to give users a way to disable them and use a simplified ASCII interface, e.g. via the proposed --ui-mode
composite option (https://github.com/loadimpact/k6/issues/1376).
I have the same problem that has been reported, I do not understand how I can solve it ... my version of k6 is: k6 v0.31.1
Can you help me how to solve it?
@victorinho, which of the multiple minor issues described here do you experience? Can you give a screenshot and some more details about your environment, like for example the terminal you use and the OS type and version?
@victorinho, which of the multiple minor issues described here do you experience? Can you give a screenshot and some more details about your environment, like for example the terminal you use and the OS type and version?
Hello @na-- !
My problem is that some characters appear wrong as seen in the image. Attached image
My operating system is a windows 10 and the version of k6 is: v0.31.1
Thanks!
We'll try to fix this in the next k6 version, but I'm not giving any promises...
@victorinho, what terminal are you using to run k6? It seems like it doesn't support utf-8
@na-- I am using windows command console (cmd)
Where can I run it from instead?
Regards
A more modern terminal like https://github.com/microsoft/terminal or https://cmder.net/ should work better.
@na-- The user in https://community.k6.io/t/exporting-rate-to-json-looks-faulty/5707/14 mentions they can't use a more modern terminal and shares more details of what they see with powershell / command prompt and AzureDevOps.
Hi, does anyone know how to solve this? I'm getting these odd characters, I'm running k6 on Azure DevOps Release Job
Run Info:
2023-10-03T20:01:35.0002052Z Task : Command line 2023-10-03T20:01:35.0002115Z Description : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows 2023-10-03T20:01:35.0002256Z Version : 2.212.0 2023-10-03T20:01:35.0002318Z Author : Microsoft Corporation 2023-10-03T20:01:35.0002393Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
When running
k6
(that exact command) in Command Prompt (CMD.exe), coloring breaks. There are no problems when running an actuall test (egk6 run ...
)Checkmark displayed for passed tests, is also "broken"
Running Command Prompt via Windows Terminal seems to negate both problems.
Environment
Expected Behavior
Colored k6 logo (as when running Command Prompt via Windows Terminal)![image](https://user-images.githubusercontent.com/1382208/100629220-548af280-3329-11eb-8542-b54b1f429c73.png)
Checkmark in test result:![image](https://user-images.githubusercontent.com/1382208/100635877-56f14a80-3331-11eb-80f0-3162cb165608.png)
Actual Behavior
Characters intended to color output are visible(ish)![image](https://user-images.githubusercontent.com/1382208/100629100-358c6080-3329-11eb-9202-45ab673538c1.png)
Boxed ? instead of checkmark in test result:![image](https://user-images.githubusercontent.com/1382208/100635804-4214b700-3331-11eb-93ca-d311affb5904.png)
Steps to Reproduce the Problem
WIN+R
cmd
, click "Ok" (or press Enter)k6
, Enter