I’m new using k6. When I run a test, I don’t know if it is only for that specific test I run or not, but i get that error in http debug mode: FATA unsupported protocol scheme “wss” (running with simple ‘k6 run’ i get the error in the topic)
And i don’t have any idea of what the problem is.
Some new clarifications:
While searching for a solution I saw a request on an url starting “wss://” so I though it was the problem and I changed that to “ws://” but it doesn’t change i still have an error, just now it says "unsupported protocol scheme “ws” "
I have the wright import at the beginning of the file and maybe it is important to precise I did the test script with an HAR file.
Hi, welcome to the forum!
This is not well documented at the moment, but there are some issues with the internal
k6 convert command and it’s being planned for removal in favor of the har-to-k6 tool. So give that a try if you haven’t.
Also consider using the LoadImpact Chrome extension to record a user session directly to a k6 test script, without the need of a HAR file.