spring-websocket-testing
Installation
SKILL.md
Spring WebSocket Testing
Signals: WebSocketStompClient, StompSession, StompFrameHandler, BlockingQueue, RANDOM_PORT, session.subscribe, session.send, /topic/, /queue/, /app/, @MessageMapping, @SendToUser
Tested With
- Spring Boot 3.2+ / Spring Boot 4.x
- Spring Framework 6.x / Spring Framework 7.x
- Spring WebSocket (bundled with Spring Framework)
- JUnit 5
Do NOT Use This Skill When
- Testing reactive WebFlux endpoints without STOMP → use
spring-webflux-testing - Testing REST controllers → use
spring-mvc-testing - Testing authentication/authorization flows → use
spring-security-testing - Writing pure unit tests for
@MessageMappinghandler logic → usespring-testing-fundamentals(plain unit test, no infrastructure)