WebSocket Server

Version 1.4

This document describes the WebSocket Test Server. The server is designed to be used with the PureLoad WebSocket tasks and a test server.

WebSocket Protocol Support

The WebSocket tasks supports the WebSocket protocol as described in RFC 6455.

The information about the sub protocols supported by the server see Supported WebSocket Protocols.


Extract the installtion tar-file and the complete the following steps:

  1. Install Java or find where Java is installed on your system
  2. Edit the start script: bin/websocket-server.sh
    Specify JAVA_HOME if not already set on your system
  3. Check and edit conf/server.properties
    Default should be ok in most cases. Also see the comments in the file.
  4. Start the server: bin/websocket-server.sh

Verify server

In a browser connect to http://localhost:8080 or the IP address of the host where the server is running. You should see a simple chat client (using the WebSocket protocol “echo-broadcast-ping”) implemented in JavaScript.

SSL/HTTP Support

HTTPS/SSL is optionally supported. Read more about HTTPS/SSL support

About Emblasoft

From innovation, to validation and smooth operation, our solutions help operators and equipment vendors deliver outstanding services and performance to their customers.

Emblasoft Test & Measurement AB
Hammarby allé 29
120 32 Stockholm, Sweden

Send us an email: contact@emblasoft.com

  • Linkedin
  • Twitter
Ready to talk to us?