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 @MessageMapping handler logic → use spring-testing-fundamentals (plain unit test, no infrastructure)

When to Read References

Installs
23
GitHub Stars
52
First Seen
Mar 14, 2026
spring-websocket-testing — spring-ai-community/spring-testing-skills