Thursday Aug 29, 2013

WebSocket Command Line Client for Testing

As many of you know, being able to do some simple integration/developer testing is invaluable in developing Web Services - WebSocket is no exception. You can use rich GUI based interfaces like soapUI to do this for SOAP and REST (there's also the compact but excellent rest-client UI dedicated to REST). Because it's so new, there aren't many good clients to test WebSocket endpoints with quite yet. Fortunately, Tyrus 1.1 comes with a pretty handy command line client that you can use for testing (it of course has other uses too such as monitoring). Pavel Bucek briefly describes the client here.

There's also a GUI driven simple WebSocket client extension for Chrome. It's similar to the popular Postman REST client extension for Chrome.

Do you know of any other/better options for WebSocket testing? Better yet, you could write a Java based WebSocket client UI yourself and share it with the community :-).