I have to capture Websocket response time in my API performance test.
I have to capture Websocket response time in my API performance test. Please guide me how to use the socket connection and execute in the script. I have copied webscoket calls from one of the UI recorded script but that is not working. Error -26421: Failed to locate Vuser script function "OnOpenCB0", specified via the "OnOpenCB" argument [MsgId: MERR-26421]
Are you using HTTP protocol ?
I mean you need to specify the port on port mapping settings, standar ports are 443 and 80 .
you have to go to Recording options --- Network--- Mapping and Filtering --- set Capture level to "Socket level data", click on new entry, complete target server and Port, on service ID select webs.
After that try to record again.
Hello below URI, i will be getting form WebsocketCB.c whcih needs to pass on Web_websocket_connect. After live all the values are dynamic. How extract the value from websocketcb.c