Hi everyone! I’m new to k6. I was exited to try new feature with browser automation.
I did all the necessary in the article:
By the way you should replace
go install github. com/grafana/xk6/cmd/xk6@latest (didn’t work for me in Win10)
with
go install go.k6.io/xk6/cmd/xk6@latest (this worked)
Below my screen showing the installation was successful:
Hi everyone!
I have tried the articles I could find about the installation of xk6 on a Windows computer, but I am not able to get it installed on my PC. Please, if anyone has a link to the direct installation guide on Windows, I would appreciate it.
Thanks @imiric, I have resolved the issue. I installed Go, ran the binary build command on powershell trminal, and ran my script on powershell terminal using the code below, but it didn’t work.
./xk6-browser run
Then I ran the binary build command on the bash terminal and then used./xk6-browser run to run the script command and it worked.
Lastly, I am trying to produce the following results from my performance testing and I don’t know how best to go about them:
1.) To get the loading time of different pages when when multiple users are assessing the page.
2.) Verify the response the response time of the application under load when the network connectivity is low.
3.) To check the CPU and memory usage of the application
Please could you advise me on how best to go about these using the xk6 browser.
Thanks
I’m glad you were able to resolve it. As you see from the discussion above, if you’re using PowerShell, you should run .\xk6-browser run (or .\k6 run depending on the xk6 build command you used). But Bash terminal should work as per the Linux examples, though we don’t recommend it for running tests.
Please post your questions in a separate forum thread, since it’s not related to this discussion. But before that, please refer to the k6 documentation, run some tests, and let us know what you tried first.