I have captured a loadrunner script using Web-Http protocol. The website uses websocket internally. So I have the WebsocketCB and WebSocketBuffer files created. There is a WebSocketSend array where one of the values within the array needs to be modified before sending.
char WebSocketSend0[] = "Data: dynamicvalue";
I am able to save the dynamic values from another packet to a variable. But i am not able to substitute it in the above array. I used the following convention for a "test" variable
char WebSocketSend0[] = "Data: lr_eval_string("{test}")";
But it threw up lots of compilation errors. Is there anyway i can make the substitution , otherwise i have to write lots of code to modify the array.