Skip to Main Content

General Development Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

nca.connect not workds for Oracle forms

mctrMay 31 2013
Hello,

I recorded my Oracle forms script, did some parametrization changes.

on nca.connect script failed:
Connection Error: Session migration in progress

my example code:

public void run() throws Exception {
beginStep("[1] QA - WebUtil", 0);
{
http.window(2, "window[@index='0']").get(
"http://11.71.10.34:8090/forms/frmservlet",
http.querystring(http.param("config", "mia")), null, true,
"ASCII", "ASCII");
http.get(
9,
"http://11.71.10.34:8090/forms/registry/oracle/forms/registry/Registry.dat",
null, http.headers(http.header("Cache-Control", "no-cache",
Header.HeaderAction.Modify)), true, "ASCII",
"ASCII");
http.get(13, "http://11.71.10.34:8090/forms/frmservlet", http
.querystring(http.param("config", "mia"),
http.param("ifsessid", "formsapp.140"),
http.param("acceptLanguage", "lt"),
http.param("ifcmd", "startsession"),
http.param("iflocale", "lt-LT")), http.headers(http
.header("Cache-Control", "no-cache",
Header.HeaderAction.Modify)), true, "ASCII",
"ASCII");

http.solve("formsload.url", "(.*)", null, true, Source.Html, 0,
EncodeOptions.None);
http.solve("formsload.url", "", "(.*)", null, true, Source.Html, 0,
EncodeOptions.None);
http.solve("formsload.host", "", "(?i)Host: *(.*)\r", null, true,
Source.RequestHeader, 0, EncodeOptions.None);
info("{{formsload.url}}");
info("{{formsload.host}}");
http.get(
17, "http://{{formsload.host,11.71.10.34:8090}}{{formsload.url,/forms/lservlet;jsessionid=crwzRnhLV7h5Wwcxvp82Bss9c2Yt0fcrzNj2YxlLG8TMpP9LSWn1!-1680603476}}", null, http.headers(http.header("Cache-Control", "no-cache",
Header.HeaderAction.Modify)), true, "ASCII", "ASCII");
nca.connect(
22,
ConnectMode.HTTP,
null,
0,
"http://{{formsload.host,11.71.10.34:8090}}{{formsload.url,/forms/lservlet;jsessionid=crwzRnhLV7h5Wwcxvp82Bss9c2Yt0fcrzNj2YxlLG8TMpP9LSWn1!-1680603476}}");
}
endStep();
}

Thanks for any help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 28 2013
Added on May 31 2013
0 comments
454 views