Tag: spring-test

  • Junit test for suscription mapping not working

    Junit test for suscription mapping not working

    0 I have been referring to this https://docs.spring.io/spring-graphql/docs/current/reference/html/#testing to setup test for the subscriptionMapping However when I run the test the subscription start but does not emit the message and ends up in a hangup state. Can someone help me in what am I missing @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT) class SubscriptionControllerTest { val client: WebSocketClient =…