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

Loadrunner - Recording issues Web_Custom_Request / Web_Submit_Data

$
0
0

Hi,

 

I have an issue recording with LR 11. Hopefully I will be able to explain it correctly, so you can help me :D.

 

- First I recorded my script against an environment with MSQL 2005 as DB and MS Server 2002 as O.S. When I recorded here everything was OK. Parameterization and Correlation were easy to identified and to work with.

 

web_submit_data("Report.aspx_2",
"Action=http://prdc-ppr-rpt212/Reports$REPSINST/Pages/Report.aspx?ItemPath=%2fWarrant+Reporting%2fOperational+Reports%2fWarrant+Payments+Report+(RPT_WRT020)",
"Method=POST",
"RecContentType=text/plain",
"Referer=http://prdc-ppr-rpt212/Reports$REPSINST/Pages/Report.aspx?ItemPath=%2fWarrant+Reporting%2fOperational+Reports%2fWarrant+Payments+Report+(RPT_WRT020)",
"Snapshot=t66.inf",
"Mode=HTML",
ITEMDATA,
"Name=ctl04", "Value=ctl04|ctl32$ctl04$ctl03$txtValue", ENDITEM,
"Name=__EVENTTARGET", "Value=ctl32$ctl04$ctl03$txtValue", ENDITEM,
"Name=__EVENTARGUMENT", "Value=", ENDITEM,
"Name=__LASTFOCUS", "Value=", ENDITEM,
"Name=__VIEWSTATE", "Value={viewState}", ENDITEM,
"Name=NavigationCorrector$ScrollPosition", "Value=", ENDITEM,
"Name=NavigationCorrector$ViewState", "Value=", ENDITEM,
"Name=NavigationCorrector$PageState", "Value=Loaded", ENDITEM,
"Name=NavigationCorrector$NewViewState", "Value=", ENDITEM,
"Name=ctl32$ctl03$ctl00", "Value=", ENDITEM,
"Name=ctl32$ctl03$ctl01", "Value=", ENDITEM,
"Name=ctl32$ctl10", "Value=", ENDITEM,
"Name=ctl32$ctl11", "Value=quirks", ENDITEM,
"Name=ctl32$AsyncWait$HiddenCancelField", "Value=False", ENDITEM,
"Name=ctl32$ctl04$ctl03$txtValue", "Value=01/01/2014", ENDITEM,
"Name=ctl32$ctl04$ctl05$txtValue", "Value=27/05/2015", ENDITEM,
"Name=ctl32$ctl04$ctl07$txtValue", "Value=", ENDITEM,
"Name=ctl32$ctl04$ctl09$txtValue", "Value=", ENDITEM,
"Name=ctl32$ctl04$ctl11$ddValue", "Value=2", ENDITEM,
"Name=ctl32$ctl04$ctl13$ddValue", "Value=0", ENDITEM,
"Name=ctl32$ctl04$ctl15$ddValue", "Value=18", ENDITEM,
"Name=ctl32$ToggleParam$store", "Value=", ENDITEM,
"Name=ctl32$ToggleParam$collapse", "Value=false", ENDITEM,
"Name=ctl32$ctl08$ClientClickedId", "Value=", ENDITEM,
"Name=ctl32$ctl07$store", "Value=", ENDITEM,
"Name=ctl32$ctl07$collapse", "Value=false", ENDITEM,
"Name=ctl32$ctl09$VisibilityState$ctl00", "Value=None", ENDITEM,
"Name=ctl32$ctl09$ScrollPosition", "Value=", ENDITEM,
"Name=ctl32$ctl09$ReportControl$ctl02", "Value=", ENDITEM,
"Name=ctl32$ctl09$ReportControl$ctl03", "Value=", ENDITEM,
"Name=ctl32$ctl09$ReportControl$ctl04", "Value=100", ENDITEM,
"Name=__ASYNCPOST", "Value=true", ENDITEM,
LAST);


- A migration to a new update server was executed a couple of days ago. Now, the environment I’m working with is MSQL 2012 as DB and MS Server 2008 as O.S. The same recording is different and it seems that the data gathered from LR is encoded and LR can’t decoded.

 

web_custom_request("Report.aspx_2",
"URL=http://prdc-ppr-rpt212/Reports$REPSINST/Pages/Report.aspx?ItemPath=%2fWarrant+Reporting%2fOperational+Reports%2fWarrant+Payments+Report+(RPT_WRT020)",
"Method=POST",
"Resource=0",
"RecContentType=text/plain",
"Referer=http://prdc-ppr-rpt212/Reports$REPSINST/Pages/Report.aspx?ItemPath=%2fWarrant+Reporting%2fOperational+Reports%2fWarrant+Payments+Report+(RPT_WRT020)",
"Snapshot=t88.inf",
"Mode=HTML",
"EncType=application/x-www-form-urlencoded; charset=utf-8",
"Body=ctl04=ctl04%7Cctl32%24ctl04%24ctl03%24txtValue&__EVENTTARGET=ctl32%24ctl04%24ctl03%24txtValue&__EVENTARGUMENT=&__LASTFOCUS=&__VIEWSTATE="wEPDwUENTM4MQ8WAh4RUGFnZVZpZXdTdGF0ZVRpbWUoKVlTeXN0ZW0uSW50NjQsIG1zY29ybGliLCBWZXJzaW9uPTIuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4ORI2MzU2ODMxODg2OTUyNDA3ODYWAgIBD2QWAgIDD2QWAmYPZBYCAgEPZBYCZg9kFgZmDxYCHgdWaXNpYmxlaGQCAQ9kFgJmD2QWAmYPZBYCZg8WCB4GdmFsaWduBQN0b3AeBmhlaWdodAUCMzAeB2NvbHNwYW4FATQeBWNsYXNzBRRtc3JzLXZhbGlkYXRpb25lcnJvcmQCAg9kFgICAQ9kFgJmD2QWAmYPZBYCZg9kFgJmD2QWAmYPZBYCZg9kFgRmDxYCHwFoZAIBD2QWAmYPZBYCZg8WAh8DBQQxMDAlFgQCAQ9kFgQCAQ8WAh4FVmFsdWVkZAIDD2QW"&NavigationCorrector%24ScrollPosition=&NavigationCorrector%24ViewState=&NavigationCorrector%24PageState=Loaded&NavigationCorrector%24NewViewState=&ctl32%24ctl03%24ctl00=&ctl32%24ctl03%24ctl01=&ctl32%24ctl10=&ctl32%24ctl11=quirks&ctl32%24AsyncWait%24HiddenCancelField=False&ctl32%24ctl04%24ctl03%24txtValue=01%2F01%2F2014&ctl32%24ctl04%24ctl05%24txtValue=27%2F05%2F2015&ctl32%24ctl04%24ctl07%24txtValue=&"ctl32%24ctl04%24ctl09%24txtValue=&ctl32%24ctl04%24ctl11%24ddValue=2&ctl32%24ctl04%24ctl13%24ddValue=0&ctl32%24ctl04%24ctl15%24ddValue=18&ctl32%24ToggleParam%24store=&ctl32%24ToggleParam%24collapse=false&ctl32%24ctl08%24ClientClickedId=&ctl32%24ctl0724store=&ctl32%24ctl07%24collapse=false&ctl32%24ctl09%24VisibilityState%24ctl00=None&ctl32%24ctl09%24ScrollPosition=0%200&ctl32%24ctl09%24ReportControl%24ctl02=&ctl32%24ctl09%24ReportControl%24ctl03=&ctl32%24ctl09%24ReportControl%24ctl04=100&"
"__ASYNCPOST=true&",
LAST);


- Besides, if you have noticed, LR treated the calls differently. In the first recording it was WEB_SUBMIT_DATA, while now is WEB_CUSTOM_REQUEST.

 

My guess is that the new migration server has more security and therefore more encryption and LR can’t handle it and is not able to decrypt it in a proper way.

 

Is there any option I can activate in LR in order to record the scripts as in the old version?

 

Thanks in advance for your help.

 

Regards,
Jesus.

 


Viewing all articles
Browse latest Browse all 3978

Trending Articles



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