WebSocket Response

Hi,

I am trying to implement WebSocket communication in my test script. The connection is getting established, but I am not getting the response from the server while OnMessageCB is called. 

  • 0  

    Try to enable full logging (all options), see Run Time Settings and examine the flow.

    Note that in rare cases you need to set manual cookies. Cookies are received from a server and automatically added to a client request by LR.

    How to ask questions

    Reward contributions via likes or 'verified answers'

  • 0 in reply to   

    Hi JHF,

    Thank you for replying. The WebSocket connection is getting established, and I am getting the connection ID. OnMessageCB is working. Expectation is --

    1.User clicks on the search link.

    2.The search api is invoked and receives 504 Gateway Timeout error. As the data which needs to be fetched is large.

    3.WebSocket will send a message containing AWS S3 url which will be invoked by the browser and the searched data will be received.

    This another message I am not receiving, actually OnMssageCB is not getting called. If something is needed to be done in the script?