Highlighted
Absent Member.
Absent Member.
377 views

Chalenge in Loadrunner script

Hi Experts,

Any one of you ever worked on web_websocket_connect and web_websocket_send functions ?

I am new to these functions and need your help.

web_websocket_connect("ID=0",

                                   "Buffer=\"CommandName\":\"CMDGETOBJ\",\"Token\":\"11375426#0"}",

                                    "IsBinary=0",

                                    LAST);

You can see some token number in my script. Do i have to correlate that ? This token values is generated in "WebSocketBuffer.h" during recording. If the value really need to correlate then how to get the boundaries for it ? i didn't find any token value in replay log or code generation log or snapshot etc. I can see this value only in "WebSocketBuffer.h" . Please help

 

0 Likes
1 Reply
Highlighted
Frequent Contributor.
Frequent Contributor.

Re: Chalenge in Loadrunner script

Hello, 

I guess you're actually talking about the web_websocket_send().

The "Buffer" parameter in web_websocket_send indicate the string send to server.

Do i have to correlate that ? --> it depend on your application's logic.  How was the Token value generated in your original client App? How does the server use this value? 

Regards,

Bingle(LoadRunner R&D)

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.