7

we would like to test our secure websocket (i.e wss) end point. I am looking for easy tool to test the endpoint. is there browser plugin available for wss protocol?

3 Answers3

8

I used "Simple WebSocket Client" chrome plugin to test wss endpoint. If your websocket is using self signed certificate, you to need add that certificate as a trusted certificated in your browser.

I followed below steps to add the self signed in my chrome browser.

suppose your websocket url is "wss://host1:port1/testSocket" . Then type urls as https:// host1:port1/testSocket and trust the certificate.

  • 2
    https://chrome.google.com/webstore/detail/simple-websocket-client/pfdhoblngboilpfeibdedpjgfnlcodoo – Nicholas Blasgen Oct 23 '16 at 03:21
  • @NicholasBlasgen, thank you, but it didn't work with a server sharing an untrusted/invalid SSL certificate - threw an internal implicit code exception message. The following worked however: https://chrome.google.com/webstore/detail/hermes-websocket-client/heiclpadccjamigpdpfpbdkcfnglcjgc/related . In addition, you might find https://www.postman.com/ or similar standalone interesting, too. – Artfaith Jun 27 '23 at 16:24
4

AutobahnTestsuite is an automated WebSocket protocol test suite that supports WSS. It is used by most WebSocket implementors to test their implementations for compliance and interoperability.

The project and third-party Web Application Messaging Protocol (WAMP) clients are also available at: https://crossbar.io/autobahn

Disclosure: I am original author of the testsuite.

Artfaith
  • 1,183
  • 4
  • 19
  • 29
oberstet
  • 21,353
  • 10
  • 64
  • 97
  • It does show 404 at this moment. We hope you are safe out there... Please do stay! – Artfaith Jun 27 '23 at 16:26
  • 1
    above link is dead and won't come back, but you may find the OSS project here https://github.com/crossbario/autobahn-testsuite – oberstet Jul 01 '23 at 00:11
1

I've run into this issue often enough that I finally created my own barebones GUI for testing websockets. It's called Socket Wrench, it supports

  • multiple concurrent connections to servers (with all responses and connections displayed in the same view),
  • comprehensive message history to enable easy re-use of messages, and
  • custom headers for the initial connection request.

It's available for Mac OS X, Windows and Linux and you can get it from here.

asleepysamurai
  • 1,362
  • 2
  • 14
  • 23