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.

Installation

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