Skip to Content
0
Former Member
Feb 15, 2005 at 11:10 PM

Loadrunner and login page

140 Views

Hello. I've never used SAP, but I've been tasked with load testing a part of the portal. When I recorded my scripts, the first page visited is the login page. When loadrunner recorded the form post, it didn't seem to capture more than the user/pass fields and the submit button. I noticed the action parameter is blank. I figured it posted to itself, but I'm unable to get past this in testing. I keep getting an error that the requested form not found. Anyone solved this before?

Here's the beginning of the recorded script. As you can see, the web_submit_form section doesn't have much.

web_url ("com.sap.portal.navigation.portallauncher.default",

"URL=https://sapportalqa.corp.halliburton.com/irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.portallauncher.default",

"Resource=0",

"RecContentType=text/html",

"Referer=",

"Snapshot=t1.inf",

"Mode=HTML",

EXTRARES,

"Url=/irj/portalapps/com.sap.portal.themes.lafservice/themes/portal/customer/halliburton/common/label/3x1_label_designbar.gif?6.0.2.10.1", ENDITEM,

LAST);

web_submit_form("com.sap.portal.navigation.portallauncher.default_2",

"Snapshot=t2.inf",

ITEMDATA,

"Name=j_user", "Value=hbbz375", ENDITEM,

"Name=j_password", "Value=123456", ENDITEM,

"Name=uidPasswordLogon", "Value=Log on", ENDITEM,

EXTRARES,

"Url=/irj/portalapps/com.sap.portal.themes.lafservice/themes/portal/customer/halliburton/common/statusicons/msg/ico12_msg_success.gif?6.0.2.10.1", ENDITEM,

"Url=/irj/portalapps/com.sap.portal.themes.lafservice/themes/portal/customer/halliburton/prtl/images/header/header_notch.gif?6.0.2.10.1", ENDITEM,

"Url=/irj/portalapps/com.sap.portal.themes.lafservice/themes/portal/customer/halliburton/common/statusicons/msg/ico12_msg_error.gif?6.0.2.10.1", ENDITEM,

"Url=/irj/portalapps/com.sap.portal.themes.lafservice/themes/portal/customer/halliburton/prtl/images/header/separator.gif?6.0.2.10.1", ENDITEM,

"Url=/irj/portalapps/com.sap.portal.themes.lafservice/themes/portal/customer/halliburton/prtl/images/header/customer_logo.gif?6.0.2.10.1", ENDITEM,

"Url=/irj/portalapps/com.sap.portal.themes.lafservice/themes/portal/customer/halliburton/prtl/images/topLvlNav/topLvlScrollerLeft.gif?6.0.2.10.1", ENDITEM,

"Url=/irj/portalapps/com.sap.portal.themes.lafservice/themes/portal/customer/halliburton/prtl/images/topLvlNav/topLvlScrollerRight.gif?6.0.2.10.1", ENDITEM,

"Url=/irj/portalapps/com.sap.portal.themes.lafservice/themes/portal/customer/halliburton/prtl/images/header/customer_brand_image.jpg?6.0.2.10.1", ENDITEM,

LAST);