Is there a way in Jmeter to wait for a specific response pattern for a TCP request. I created two requests, one for login and one for user status change. For a login request on server side, a response is sent and also other notifications are broadcasted. Issue is that for the second request the response is misinterpreted. Before the actual response for the second request (user status change) comes in the other server notification is misconstrued as the response.
I want a way to wait for the second request handler for a particular pattern in the response and then timeout if it isn't reached. In other words for each request the request handler should only filter a specific response pattern or else timeout. Is there a way to achieve this requirement?