Testing WebSocket in Go It’s been a while since my last post in this blog. I also posted some posts in my Medium while I was in the Gojek Bootcamp. Feel free to check it out here. A few weeks ago, I got this idea for making real-time chat server with WebSocket. I was curious because I had never been playing with WebSocket in Go previously. Writing test for WebSocket The idea behind why I wrote the test for WebSocket was that I wanted to try end-to-end test in Go.