"nca_connect_server: cannot communicate with host" (440 Views)
Reply
Occasional Collector
PayalBhatta
Posts: 2
Registered: ‎09-04-2013
Message 1 of 6 (440 Views)

"nca_connect_server: cannot communicate with host"

I'm working with (web(Http/Html)& Oracle NCA) multi protocol using Loadrunner 11.5 to record the script in Oracle R12 forms. When I tried to replay the script I got the error "nca_connect_server: cannot communicate with host xxxxx on port 8004". Could you please let me know how to resolve the issue.

Please use plain text.
Advisor
kikomachine
Posts: 20
Registered: ‎08-05-2013
Message 2 of 6 (427 Views)

Re: "nca_connect_server: cannot communicate with host"

Hello,

 

Make sure you are using the correct proxy settings in the Run Time Settings > Internet Protocol > Proxy.

 

 

Please use plain text.
Occasional Collector
PayalBhatta
Posts: 2
Registered: ‎09-04-2013
Message 3 of 6 (421 Views)

Re: "nca_connect_server: cannot communicate with host"

Hi,

 

I tried to replay the script using no proxy. But still the error persists.

Please use plain text.
Advisor
kikomachine
Posts: 20
Registered: ‎08-05-2013
Message 4 of 6 (413 Views)

Re: "nca_connect_server: cannot communicate with host"

The script is missing a lservlet step;therefore during replay the script is failing to establish connection,hardcoded jsessionid is being used.

 

Try doing this:

 

1-Add "application/octet-stream" content type as non-resource in:Recording Options > HTTP Properties > Advanced > Non-Resources.

2-Regenerate the script in URL mode

3-Correlate the jsessionid value

Example

web_url("lservlet;jsessionid=Mz9TTXbWmQ2GTd1d72ThvxGybPxYvSbb2Wg11c90B012cyThkhGy!-34473380",
  "URL=http://hpdev6:7778/forms/lservlet;jsessionid={jsessionid}?ifcmd=getinfo&ifhost=OCDT70236785&ifip=xx.xxx.xxx.xx",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=",
  "Mode=HTML",
  LAST);

 

Source

Please use plain text.
HP Expert
Editus
Posts: 630
Registered: ‎04-06-2011
Message 5 of 6 (394 Views)

Re: "nca_connect_server: cannot communicate with host"

There may be several possible causes for this, the most obvious is the proxy, make sure to select "use browser settings", if this give the same error, then check correlations, usually you need to correlate the jsessionsid and the icxticket.

try that and let us know

regards
Please use plain text.
Frequent Advisor
ArJ3N
Posts: 62
Registered: ‎05-09-2013
Message 6 of 6 (382 Views)

Re: "nca_connect_server: cannot communicate with host"

Payal,

 

Mostly this issue should be due to the NCAJSession id not being correlated.

Do you have a web_reg_save_param step before the connect statement in the script?

The auto correlation feature should normally have correlated this value.

 

Try re-recording with the auto correlation enabled.

If this works, you may start getting a new type of error :)

come back after you get over this hurdle for now .

 

AJ

 

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation