JUnit 5: Simple Websocket Tests with Arquillian
A simple Websocket example project.
This was originally created for TomEE 9.1.2-SNAPSHOT using Jakarta EE 9 and Websocket API 1.1.
The example was created with a server to server typo of connection in mind. For Browser to server connections, you will need to refer to your frontend framework of choice but many server side configurations in here can be reused.
There is an Arquillian test that will test the connection and sent a message using JUnit 5. == APIs Used