GetSearchesForUser()
class GetSearchesForUser extends WebsocketRequest {
override val destination = "SearchesService" override val messageType = "GetSearchesForUser" override val data = """{"criteria":null}"""}object GetSearchesForUser { val request = new GetSearchesForUser() def apply() = { request() }}
exec( ws(s"$messageType").sendText(session => { constructRequest(session) }).check(wsAwait.within(responseTimeout).until(1).regex( TrackedResponseRegex ).saveAs(s"$messageType") )
...
> ITSA / OpenSearchPage / GetSearchesForUser (OK=3 KO=0 )> ITSA / OpenSearchPage / GetSearchesForUser Check (OK=3 KO=0 )> ITSA / OpenSearchPage / SettingSaveRequest (OK=1 KO=0 )
---- ITSecurityAnalyst ---------------------------------------------------------[--------------------------------------------------------------------------] 0% waiting: 0 / active: 1 / done:0================================================================================
--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
10:41:57.663 [DEBUG] i.g.h.a.a.w.WsActor - Sending message check on WebSocket 'gatling.http.webSocket': TextMessage(3:::{ "destination":"AuditLogService", "messageType":"AddAuditLog", "data":{ "eventType":12, "userId":-100, "personId":-100, "objectType":11, "objectName":"Multiple Alarms Selected", "info":"ids: 112,113,114" }, "method":"post", "_tracker":"13f70147-74f3-4f75-bbd8-92f3fd0e3c92" <- _tracker looked for in the TrackedResponseRegex }) <- The request sent before the check gets stuck10:41:57.663 [DEBUG] i.g.h.a.a.w.WsActor - setCheck blocking=true timeout=2 seconds <- The corresponding AddAuditLog check looking for the TrackedResponseRegex10:41:57.681 [DEBUG] i.g.h.a.a.w.WsActor - Check on WebSocket 'gatling.http.webSocket' timed out <- old check timing out10:41:57.799 [DEBUG] i.g.h.a.a.w.WsActor - Received text message on websocket 'gatling.http.webSocket':3:::{"destination":"TaskService","messageType":"ActiveTasks","data": ...
... "method":"subscribe","_tracker":"a4904910-4f6a-4450-bb6a-7dfd55ed9686","clientAddr":"10.128.72.85"} <- subscribed response from old request, note the _tracker doesn't match
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+unsubscribe@googlegroups.com.