Skip to content

Simulate sending messages or sequences of messages from a websocket server, with a GUI to manage them.

License

Notifications You must be signed in to change notification settings

sallaccio/socket-sender-gui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

socket-sender-gui

Simulate sending messages or sequences of messages from a websocket server, with a GUI to manage them.

If you're working on an application that communicates with a browser through websockets (can be adapted to HTTP requests as well) and wish to work on given actions without having to start long sequences of actions again and again, you might want to simulate the sending of a given message. Or of a given sequence of messages.

This tool is basically a GUI around a minimal websocket server that automatically send whatever message you selected on a connection event.

It was originally created to deal with Json messages, but can be easily adapted to treat messages in any language (or none in particular).

Quick Overview
Detailed Manual
External code
Known issues
Future development

Quick overview

Quick OVerview

If the interface does not seem intuitive enough, click here to get a full manual (pdf).

External code

JsonMinify: by Stefan Reich at http://tinybrain.de:8080/jsonminify/

Libraries and modules

RSyntaxTextArea: by Bobbylight at http://bobbylight.github.io/RSyntaxTextArea/

Grizzly: by Oracle at https://javaee.github.io/grizzly/

Gson: by Google at https://github.com/google/gson

Change the language of messages

When editing an action, there is no way to see an already existing action without loosing the current edits. A current roundabout this issue is to "Select All / Copy" in the editor, go see the other action and re-create or modify.

A fix can be of two sorts:

  • add a Back button and memorize all changes. There probably is a java library for that
  • add a read-only editor on interaction with an action in the list

We prefer tha latter solution but have to think about the user flow before implementing it.

  1. Externalize new message snippet

About

Simulate sending messages or sequences of messages from a websocket server, with a GUI to manage them.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages