RE: Vugen Scripting - Handling Binary data in request body

98 views
Skip to first unread message

James Pulley

unread,
Nov 6, 2013, 8:53:15 AM11/6/13
to LR-Loa...@googlegroups.com

You have posted to an old thread with a new issue.   This thread is now locked.  Do not respond to it. 

 

You have also posted the same issue twice, once as a new thread and a reopen of the old thread.   Double posting is a violation of forum rules.  If you wanted to refer to the other thread then update your first thread with a link to the old one.   Bad magic

 

It should be noted that now all of your posts will be moderated for forum behavior

 

This is being sent publicly as education to the entire forum

 

MODERATOR

 

From: LR-Loa...@googlegroups.com [mailto:LR-Loa...@googlegroups.com] On Behalf Of Ajit Lal
Sent: Tuesday, November 05, 2013 11:25 AM
To: LR-Loa...@googlegroups.com
Subject: Re: Vugen Scripting - Handling Binary data in request body

 

LR version is 11.0

 

On Tue, Nov 5, 2013 at 9:54 PM, Ajit Lal <ajit...@gmail.com> wrote:

Hi,

 

I am encountered with a similar situation as mentioned by Abhi....

 

I created the script successfully on one version of application using web (http/html) protocol. The developers used the compression technology for the client-server communication in the next version of application. I tried recording on next version of application and got the body binary contents captured in binaries throughout the script with no value captured in EncType, i.e, "EncType=".

 

Please suggest, how to rectify such situations and how to decode the binary data.

 

Regards,

Ajit

 

On Mon, Nov 12, 2012 at 9:18 AM, Abhi <abhiji...@gmail.com> wrote:

Hi-

Has anyone has any success working with the 'Binary data' in web_custom_request() ?   My Vugen scripts captures all the client server request in a 'Binary format' in the body with an encryption Type as : "EncType=application/octet-stream". Do you guys have any suggestion on how to read these data and/or convert them to readable text ? I am using http protocol with Vugen 11.04 for a smartclient built in .NET 3.5.  A sample request body is as below -

 

web_custom_request("appserver.aspx_106",
  "URL=http://SERVER/app/appserver.aspx",
  "Method=POST",
  "TargetFrame=",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=",
  "Snapshot=t107.inf",
  "Mode=HTML",
  "EncType=application/octet-stream",
  "BodyBinary=PK\\x03\\x04-\\x00\t..............................................)

 

thanks,

Abhi

--
 
 

 

 

--
You received this message because you are subscribed to the Google Groups "LoadRunner" group.
To unsubscribe from this group and stop receiving emails from it, send an email to LR-LoadRunne...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages