02-20-2008 11:19 PM - last edited on 11-03-2013 08:12 PM by Maiko-I
I would request to provide me some information about correlating the binary data using Load Runner.
I would appreciate if you could provide some article or document on this.
Please feel free to help me on this.
P.S. this thread has been moved from Performance Center Support and News Forum to LoadRunner Support Forum. - Hp Forum moderator
03-14-2008 03:37 AM
Thanks for your response.
I am not able to open the file from the zip.
If possible please send me the same to amedikonda@com.
Thanks in advance
03-14-2008 08:03 AM
web_reg_save_param("LogoImage", "LB=\r\n\r\n", "RB=", LAST);
This function should be placed before web_url function. After execution, LogoImage parameter will contain GIF-file.
I will clarify briefly the meaning of boundaries - "LB=\r\n\r\n" and "RB=".
Please, read the basic concepts of HTTP protocol, read Request message section:
HTTP response consists of the following:
â ¢ Headers, such as HTTP/1.1 200 OK or Content-Length: 3473
â ¢ An empty line
â ¢ A message body, containg text of requested page or file
So, Header and Message body should be separated by empty line.
First CRLF (that is, a carriage return (CR = "\r") followed by a line feed (LF = "\n")) ends last header, and second CRLF ( = "\r\n") creates empty line. All data, followed by second CRLF, are treated as message body.
To summurize - "LB=\r\n\r\n" says "start capturing from the beginning of message body", empty right boundary "RB=" says "capture data till the end of message".
Open LoadRunner and enable logging of data, returned by server:
Then execute script containing initial web_url function, and open Replay log:
As you see, Replay log contains "\r\n\r\n" at the end of server's response.
Also, pay attention, that server returns the length of file to be downloaded
03-16-2008 08:47 PM
If you are not using winsocket then correlate as follows:-
The left boundary is composed of 3F and DD. The right boundary is composed of CC and b.
web_reg_save_param("ParamName", "LB/BIN=\\x3F\\xDD", "RB/BIN=\\xCCb", LAST);
Whatever boundary,Use BIN with LB and RB,then it will work.I faced same problem previously
04-04-2008 02:08 AM
I am having "BodyBinary" in my script where it is having "SessionID" and we are not seeing this session anywhere in the server responce. We have executed the script by enabling Extended log with "Data Returned by the server" & "Advance Trace".
Please let me know if you have any idea what is this "BodyBinary"? and what is the purpose?
Thanks in advance
04-04-2008 03:50 AM
set the data compression flag to FALSE in the config file.
Also try with some different recording options to get the server response.
06-16-2008 08:51 AM
I am unable to open the zip file you attached in here. Is it possible for you to email me the file. It would be of much help to me. Please fwd it to firstname.lastname@example.org. I appreciate it.
06-19-2008 06:25 AM
I am working on a Java application with a lot of Ajax functionality. I am using LR 8.1 with web http/html protocal to script.
Attached is a sample of the script.
The body binary in here is a lot of alpha numeric data which needs to be correlated. Any ideas on how to handle this? There isnâ t any session id in the data, so do I correlate the total set of hexadecimal binarybody returned? What is it that I need to be looking for? Do I need to first convert the data? Forgive my ignorance and pls advise.
I am also in the process of upgrading to LR9.1 to deal with ajax.
07-10-2008 09:41 AM
Could you please resend the attached document, as reference of correlation in winsock. The attachement is corrupted, please send it to my personal ID email@example.com.
Thanks & Good luck
02-23-2010 07:55 AM
I wanted to know if Loadrunner is able to support sending binary data through a UDP protocol to a generic application on a unix\linux server (no HTTP\Web based application here) ? If yes, then how do I go about programming it?
09-25-2010 01:41 AM
I am also facing same issue,my application having lot of ajax popup's, script recorded with http/html, winsock protocol. but unable to see any sessionid's in script..so, unable to correlate the script, please suggest on this..if you have any related document pls send to firstname.lastname@example.org.
12-29-2010 04:45 PM
I am recroding a .net application using winscok protocol. I am getting this error.
vuser_init.c(2172): Mismatch in buffer's length (expected 43 bytes, 7 bytes actually received, difference in 36 bytes)
vuser_init.c(2174): lrs_send(socket2, buf1074)
vuser_init.c(2174): Warning: The string '\x81e^\xb9\x13J\x8as\xc3\xa7K' with parameter delimiters is not a parameter.
vuser_init.c(2174): Warning: The string 'D\xd0K\xc4X\x863\xb3\x1f\x99)\xe4\xe2A\xe1\xef' with parameter delimiters is not a parameter.
vuser_init.c(2176): lrs_receive(socket2, buf1075)
vuser_init.c(2176): Error : socket2 - Software caused connection abort. Error code : 10053.
vuser_init.c(2176): Notify: Transaction "Log_in" ended with "Fail" status (Duration: 0.0808)
Few other questions?
How can you find out that which buffer number is having session ID? In the sample pdf buf35 has PID? How did you find out that buf35 has PID and send Buf 54 also have the same PID?
11-01-2013 04:11 AM
I do faced the same problem. Did you get any solution , then do share with me.
I was using http/html protocol to record the application and succesfully done teh scripting on one version.
In the next version, to improve the performance, development team used compression technology in the code and impact of that was while recording, i am getting binary data in the requests.
How to decode or solve thsi problem?