Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

VuGen 12.02 - partial/incomplete “Body” of a request in a recording of HTTP script

$
0
0

I am having a strange challenge with LoadRunner scripting.

It seems that “Body” of a request was only partially recorded.

 

My request looks like:

 

            web_custom_request("AuthRequest.aspx_3",

                        "URL=https://crtest.abc.org/CareRadius/Auth/AuthRequest.aspx?wid=155d7108-bf90-46a3-a496-fd5c5ae9569e",

                        "Method=POST",

                        "TargetFrame=",

                        "Resource=0",

                        "RecContentType=text/plain",

                        "Referer=https://crtest.abc.org/CareRadius/Auth/AuthRequest.aspx?wid=155d7108-bf90-46a3-a496-fd5c5ae9569e",

                        "Snapshot=t97.inf",

                        "Mode=HTML",

                        "EncType=application/x-www-form-urlencoded; charset=utf-8",

                        "Body="

                        "ZXIFAU9nFgFmZAIHD2 …"

                        [snip]

                        "… %3D&__PREVIOUSPAGE=CPcw2 … &__EVENTVALIDATION=%ArPsjNID ..."

                        [snip]

 

 

  1. It starts with binary string while I expected it to start with __EVENTTARGET = …, __EVENTARGUMENT = …, and __VIEWSTATE = …
  2. Size of captured Body is about 58 KB while in my generation log I see:
    ****** Request Header For Transaction With Id 380 ******

POST /CareRadius/Auth/AuthRequest.aspx?wid=155d7108-bf90-46a3-a496-fd5c5ae9569e HTTP/1.1

Accept: */*

Accept-Language: en-us

Referer: https://crtest.abc.org/CareRadius/Auth/AuthRequest.aspx?wid=155d7108-bf90-46a3-a496-fd5c5ae9569e

x-requested-with: XMLHttpRequest

x-microsoftajax: Delta=true

Content-Type: application/x-www-form-urlencoded; charset=utf-8

Cache-Control: no-cache

Accept-Encoding: gzip, deflate

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E)

Host: crtest.hap.org

Content-Length: 189452                    

 

I reproduced the same issue in LoadRunner VuGen 11.00, 11.04 and 12.02.

 

 

I used WinINet recording with Web/HTTP protocol.

Most requests in this script were recorded OK and can be replayed OK.
However a few requests have the same issue and return wrong pages.


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>