Hi,
I have a web based application which communicates to another application through web sockets. The business process flow is pretty simple where the script logs into the website,selects few records(which opens through socket communication) and logs off. I am using Vugen 12.02 and after recording following fuctions are generated automatically
web_websocket_connect("ID=0",
"URI=ws://xyz/websocket/events",
"Origin=http://xyz",
"OnOpenCB=OnOpenCB0",
"OnMessageCB=OnMessageCB0",
"OnErrorCB=OnErrorCB0",
"OnCloseCB=OnCloseCB0", LAST);
/*Connection ID 0 received buffer WebSocketReceive0*/
/*Connection ID 0 received buffer WebSocketReceive1*/
lr_save_string(WebSocketSend0, "WebSocketSend0");
web_websocket_send("ID=0",
"Buffer={WebSocketSend0}",
"IsBinary=0", LAST);
/*Connection ID 0 received buffer WebSocketReceive2*/
No while replay the script fails at the web_websocket_connect with HTTP400 Bad request error. There are two exra files generated WebSocketBuffer.h and WebSocketCB.c. I don't know how to handle these generated functions and how to fix the error. Please help