@@ -58,13 +58,15 @@ void t1() throws Exception {
5858 .andExpect (jsonPath ("$.data.service" ).value ("WebSocket" ))
5959 .andExpect (jsonPath ("$.data.status" ).value ("running" ))
6060 .andExpect (jsonPath ("$.data.timestamp" ).exists ())
61- .andExpect (jsonPath ("$.data.sessionTTL" ).value ( "10분 (Heartbeat 방식)" ))
62- .andExpect (jsonPath ("$.data.heartbeatInterval" ).value ( "5분" ))
61+ .andExpect (jsonPath ("$.data.sessionTTL" ).exists ( ))
62+ .andExpect (jsonPath ("$.data.heartbeatInterval" ).exists ( ))
6363 .andExpect (jsonPath ("$.data.totalOnlineUsers" ).value (totalOnlineUsers ))
6464 .andExpect (jsonPath ("$.data.endpoints" ).exists ())
6565 .andExpect (jsonPath ("$.data.endpoints.websocket" ).value ("/ws" ))
6666 .andExpect (jsonPath ("$.data.endpoints.heartbeat" ).value ("/app/heartbeat" ))
67- .andExpect (jsonPath ("$.data.endpoints.activity" ).value ("/app/activity" ));
67+ .andExpect (jsonPath ("$.data.endpoints.activity" ).value ("/app/activity" ))
68+ .andExpect (jsonPath ("$.data.endpoints.joinRoom" ).value ("/app/rooms/{roomId}/join" ))
69+ .andExpect (jsonPath ("$.data.endpoints.leaveRoom" ).value ("/app/rooms/{roomId}/leave" ));
6870
6971 verify (sessionManager ).getTotalOnlineUserCount ();
7072 }
@@ -156,8 +158,8 @@ void t6() throws Exception {
156158 .andExpect (jsonPath ("$.data.websocketUrl" ).value ("/ws" ))
157159 .andExpect (jsonPath ("$.data.sockjsSupport" ).value (true ))
158160 .andExpect (jsonPath ("$.data.stompVersion" ).value ("1.2" ))
159- .andExpect (jsonPath ("$.data.heartbeatInterval" ).value ( "5분" ))
160- .andExpect (jsonPath ("$.data.sessionTTL" ).value ( "10분" ));
161+ .andExpect (jsonPath ("$.data.heartbeatInterval" ).exists ( ))
162+ .andExpect (jsonPath ("$.data.sessionTTL" ).exists ( ));
161163 }
162164
163165 @ Test
0 commit comments