Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

WebSocket Command Line Client for Testing

DZone's Guide to

WebSocket Command Line Client for Testing

· Java Zone ·
Free Resource

Download Microservices for Java Developers: A hands-on introduction to frameworks and containers. Brought to you in partnership with Red Hat.

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 :-).

Download Building Reactive Microservices in Java: Asynchronous and Event-Based Application Design. Brought to you in partnership with Red Hat

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}