Highlighted
Absent Member.
Absent Member.
3682 views

Loadrunner problem with Oracle forms and applets

I am attempting to create a LR script that will begin in a normal browser but then fires off the Oracle forms, (java applet actually).

The steps are:

Login - (which is a login page on a normal browser)
Click link - (Again a normal browser window but once clicking a new browser opens as well as an applet)

The logins and click work fine, it is when the additional browser window opens and the applet is supposed to open I have the issue.

I have narrowed it down to an icx_ticket issue. I tried the following but still get an error:

web_reg_save_param("ICXTicket", "LB=icx_ticket=", "RB=resp", "NotFound=ERROR", LAST);

nca_set_connect_opt(SCALE_INFO, 8, 20);

nca_connect_server("xxxx.xxxx.xxx", "xxxx", "module=/appdb4/oracle/devcappl/fnd/11.5.0/forms/US/FNDSCSGN fndnam=APPS config='devc' icx_ticket='{ICXTicket}' resp='INV/INVENTORY' secgrp='STANDARD' start_func='INV_INVMATWB'::NLS_LANG='AMERICAN_AMERICA.UTF8' FORMS60_USER_DATE_FORMAT='DD-MON-RRRR' FORMS60_USER_DATETIME_FORMAT='DD-MON-RRRR HH24:MI:SS' NLS_DATE_LANGUAGE='AMERICAN' NLS_SORT='BINARY' NLS_NUMERIC_CHARACTERS='.,'");

web_concurrent_start(NULL);

The error I receive is:
No match found for the requested parameter "ICXTicket". Check whether the requested boundaries exist in the response data.

Any suggestions? I am at a loss at this point.
0 Likes
8 Replies
Highlighted
Absent Member.. Absent Member..
Absent Member..

Use the advanced forums search:

http://forums12.itrc.hp.com/service/james/home.do?from=forums

Search on forum category Performance Center for NCA.

I posted links to tips and tricks articles on how to go about creating and trouble shooting a Web/OracleNCA script in a few of the threads.

You could also search for NCA here to find helpful articles:

http://support.openview.hp.com/selfsolve/documents

Alan
0 Likes
Highlighted
Absent Member.
Absent Member.

Yes, I have looked through much of this info. I have followed items to a t but still cannot get the script to function correctly.

I still get this error:
Error -26377: No match found for the requested parameter "icx_ticket". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 1024 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]
Action.c(73): web_url("fnd_icx_launch.runforms") highest severity level was "ERROR", 1152 body bytes, 542 header bytes [MsgId: MMSG-26388]


I am bit of a noob for LR so I apologize if this stuff is obvious but for me it is not.

I am working with Oracle 11i and LR 9.10.
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

The best thing to do is to playback your script with full logging turned on with Data returned from server. Zip up your script with the output.txt and mdrv.log files. Edit out any proprietary info. Attach the script here and we can take a look.

There is a problem with the web_reg_save_param statement and it is difficult to help without seeing the script and the log files.

Alan
0 Likes
Highlighted
Absent Member.
Absent Member.

To large to attach 😞

Here is the script:

Action()
{



web_add_cookie_ex("Cookie=oracle.uix=0^^GMT-4:00^p; domain=xxxx.xxxx.xxx; path=/", ENDITEM,
LAST);

web_browser("AppsLocalLogin.jsp",
DESCRIPTION,
ACTION,
"Navigate=http://xxxx.xxxx.xxx:8070/OA_HTML/AppsLocalLogin.jsp?requestUrl=APPSHOMEPAGE&cancelUrl=http%3A%2F%2Fxxxx.xxxx.xxx%3A8070%2Foa_servlets%2Foracle.apps.fnd.sso.AppsLogin",
LAST);

lr_think_time(4);

web_edit_field("username",
"Snapshot=t18.inf",
DESCRIPTION,
"Type=text",
"Name=username",
ACTION,
"SetValue=username",
LAST);

web_edit_field("password",
"Snapshot=t19.inf",
DESCRIPTION,
"Type=password",
"Name=password",
ACTION,
"SetEncryptedValue=483f06c995375af7be20",
LAST);

web_image_link("Login",
"Snapshot=t20.inf",
DESCRIPTION,
"Alt=Login",
"Name=",
ACTION,
"ClickCoordinates=22,4",
LAST);

web_text_link("Inventory",
"Snapshot=t21.inf",
DESCRIPTION,
"Text=Inventory",
ACTION,
"UserAction=Click",
LAST);

lr_think_time(9);

web_text_link("On-hand Quantity",
"Snapshot=t22.inf",
DESCRIPTION,
"Text=On-hand Quantity",
ACTION,
"UserAction=Click",
LAST);

web_url("fndforms.jar",
"URL=http://xxxx.xxxx.xxx:8070/OA_JAVA/oracle/apps/fnd/jar/fndforms.jar",
"Resource=1",
"Referer=",
"UserAgent=Java1.3.1.21-internal",
LAST);

web_url("fndformsi18n.jar",
"URL=http://xxxx.xxxx.xxx:8070/OA_JAVA/oracle/apps/fnd/jar/fndformsi18n.jar",
"Resource=1",
"Referer=",
"UserAgent=Java1.3.1.21-internal",
LAST);

web_url("fndewt.jar",
"URL=http://xxxx.xxxx.xxx:8070/OA_JAVA/oracle/apps/fnd/jar/fndewt.jar",
"Resource=1",
"Referer=",
"UserAgent=Java1.3.1.21-internal",
LAST);

web_url("fndswing.jar",
"URL=http://xxxx.xxxx.xxx:8070/OA_JAVA/oracle/apps/fnd/jar/fndswing.jar",
"Resource=1",
"Referer=",
"UserAgent=Java1.3.1.21-internal",
LAST);

web_url("fndbalishare.jar",
"URL=http://xxxx.xxxx.xxx:8070/OA_JAVA/oracle/apps/fnd/jar/fndbalishare.jar",
"Resource=1",
"Referer=",
"UserAgent=Java1.3.1.21-internal",
LAST);

web_url("fndaol.jar",
"URL=http://xxxx.xxxx.xxx:8070/OA_JAVA/oracle/apps/fnd/jar/fndaol.jar",
"Resource=1",
"Referer=",
"UserAgent=Java1.3.1.21-internal",
LAST);

web_url("fndctx.jar",
"URL=http://xxxx.xxxx.xxx:8070/OA_JAVA/oracle/apps/fnd/jar/fndctx.jar",
"Resource=1",
"Referer=",
"UserAgent=Java1.3.1.21-internal",
LAST);

web_url("fndlist.jar",
"URL=http://xxxx.xxxx.xxx:8070/OA_JAVA/oracle/apps/fnd/jar/fndlist.jar",
"Resource=1",
"Referer=",
"UserAgent=Java1.3.1.21-internal",
LAST);

web_url("appslogo_new.gif",
"URL=http://xxxx.xxxx.xxx:8070/OA_MEDIA/appslogo_new.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=",
"Snapshot=t31.inf",
"UserAgent=Java1.3.1.21-internal",
LAST);

web_url("Registry.dat",
"URL=http://xxxx.xxxx.xxx:8070/OA_JAVA/oracle/forms/registry/Registry.dat",
"Resource=0",
"RecContentType=text/plain",
"Referer=",
"Snapshot=t32.inf",
"UserAgent=Java1.3.1.21-internal",
"Mode=HTTP",
LAST);

web_url("OracleApplications.dat",
"URL=http://xxxx.xxxx.xxx:8070/OA_JAVA/oracle/apps/fnd/formsClient/OracleApplications.dat",
"Resource=0",
"RecContentType=text/plain",
"Referer=",
"Snapshot=t33.inf",
"UserAgent=Java1.3.1.21-internal",
"Mode=HTTP",
LAST);

web_reg_save_param("icxValue", "LB=_ticket=", "RB= resp=", LAST);

nca_set_connect_opt(SCALE_INFO, 8, 20);

nca_connect_server("xxxx.xxxx.xxx", "9070", "module=/appdb4/oracle/devcappl/fnd/11.5.0/forms/US/FNDSCSGN fndnam=APPS config='devc' icx_ticket='{icx_ticket}' resp='INV/INVENTORY' secgrp='STANDARD' start_func='INV_INVMATWB'::NLS_LANG='AMERICAN_AMERICA.UTF8' FORMS60_USER_DATE_FORMAT='DD-MON-RRRR' FORMS60_USER_DATETIME_FORMAT='DD-MON-RRRR HH24:MI:SS' NLS_DATE_LANGUAGE='AMERICAN' NLS_SORT='BINARY' NLS_NUMERIC_CHARACTERS='.,'");

web_concurrent_start(NULL);

web_url("fndutil.jar",
"URL=http://xxxx.xxxx.xxx:8070/OA_JAVA/oracle/apps/fnd/jar/fndutil.jar",
"Resource=1",
"Referer=",
"UserAgent=Java1.3.1.21-internal",
LAST);

web_url("fndjewtall.jar",
"URL=http://xxxx.xxxx.xxx:8070/OA_JAVA/oracle/apps/fnd/jar/fndjewtall.jar",
"Resource=1",
"Referer=",
"UserAgent=Java1.3.1.21-internal",
LAST);

web_concurrent_end(NULL);

web_browser("Sync",
"Snapshot=t24.inf",
DESCRIPTION,
"Ordinal=2",
ACTION,
"Sync",
LAST);

web_browser("Sync_2",
"Snapshot=t25.inf",
DESCRIPTION,
"Ordinal=1",
ACTION,
"Sync",
LAST);

lr_think_time(6);

nca_set_window("Organizations");

nca_lov_retrieve_items("Organizations", 1, 20);

nca_lov_select_item("Organizations", "060|060 org");

nca_set_window("Query Material");

nca_edit_set("633", "XXXXX.MIC");

nca_button_press("627");

return 0;
}
0 Likes
Highlighted
Absent Member.
Absent Member.

mdrv log attached
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

How are you recording this transaction? I assume that you are using multi-protocol Web/OracleNCA. Are you using HTML or URL based Web recording? Does your output.txt file contain the same info as the mdrv.log file?

You should be able to find your boudaries in the output window to ensure that the icx_ticket is being sent. Since all of the data in the mdrv.log file is in hex I have no idea if the info is being returned or not.

Have you opened up a ticket with HP support? The first time I tested an Oracle Forms application I used support to help me out. Sending them the zipped up script for review usually got the answers that I needed.

Alan
0 Likes
Highlighted
Absent Member.
Absent Member.

Hii,I also faced this issue long back...place icxticket correlation function between Inventary and On-hand Quantity link functions.
i am sure now u can't get issue now... if u get the same error jst place icx function above inventary and try to execute...

web_text_link("Inventory",
"Snapshot=t21.inf",
DESCRIPTION,
"Text=Inventory",
ACTION,
"UserAction=Click",
LAST);

lr_think_time(9);.

web_reg_save_param("ICXTicket", "LB=icx_ticket=", "RB=resp", "NotFound=ERROR", LAST);

web_text_link("On-hand Quantity",
"Snapshot=t22.inf",
DESCRIPTION,
"Text=On-hand Quantity",
ACTION,
"UserAction=Click",
LAST);
0 Likes
Highlighted
Absent Member.
Absent Member.

 
Hi,
 
I am working on LR 11 version and
attempting to create a LR script that will begin in a normal browser but then fires off the Oracle forms, (java applet actually).

The steps are:

Login - (which is a login page on a normal browser)
Click link - (Again a normal browser window but once clicking a new browser opens as well as an applet)

The logins and click work fine, it is when the additional browser window opens and the applet is supposed to open I have the issue.

I have narrowed it down to an icx_ticket issue. I tried to caputure the value for icx_ticket with various bondry values for the following but still get an error:

    web_reg_save_param("icx_ticket", "LB=TICKET=", "RB=&RES","Ord=1", LAST);
    web_reg_save_param("p_ICX_Ticket","LB=icx_ticket='", "RB='","Ord=1",LAST);
    web_reg_save_param("p_ICX_Ticket1", "LB=gv15=", "RB='","Ord=1",LAST);
    web_reg_save_param("p_ICX_Ticket2", "LB=gv15=", "RB=&","Ord=1",LAST);
    web_reg_save_param("p_ICX_Ticket3", "LB=gv15='", "RB='","Ord=1",LAST);
    web_reg_save_param("p_ICX_Ticket4", "LB=gv15=.", "RB=..","Ord=1",LAST);
    web_reg_save_param("ICXTicket", "LB=icx_ticket=", "RB=resp", "NotFound=ERROR", LAST);
 
nca_connect_server("XXXXXX", "0000", "module=/u01/oracle/CRP2/apps/apps_st/appl/fnd/12.0.0/forms/US/FNDSCSGN fndnam=APPS  config='CRP2' icx_ticket='._kV7jrbmfVuARsT_GzJTfw..' resp='ONT/ORDER_MGMT_SUPER_USER' secgrp='STANDARD' start_func='ONT_OEXOEORD_SUMMARY' other_params=''::NLS_LANG='AMERICAN_AMERICA' FORMS_USER_DATE_FORMAT='DD-MON-RRRR' FORMS_USER_DATETIME_FORMAT='DD-MON-RRRR HH22:MI:SS' NLS_DATE_LANGUAGE='AMERICAN' NLS_SORT='BINARY' NLS_NUMERIC_CHARACTERS='.,'");
 

The error I receive is:
No match found for the requested parameter "ICXTicket". Check whether the requested boundaries exist in the response data.
 
Error: “cannot communicate with host XXXXX on port 0000

Any suggestions? I am at a loss at this point.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.