且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

LoadRunner报错vuser_init.c(18): Error: nca_connect_server: cannot communicate

更新时间:2022-09-10 15:17:55

在LoadRunner 录制脚本回放时,提示以下错误:

Virtual User Script. started at : 2013-10-09 22:51:13
Starting action vuser_init.
vuser_init.c(12): nca_set_connect_opt("INITIAL_DISP_SIZE")
vuser_init.c(14): nca_set_connect_opt("FONT_FACE")
vuser_init.c(16): nca_set_connect_opt("SCALE_INFO")
vuser_init.c(18): Error: nca_connect_server: cannot communicate with host nkgtsoserp01-vlx.huw.com on port 8005
Abort was called from an action.
R12安装后Form服务默认是Serverlet模式,且禁用Socket模式;只要按如下基本简单改动即可改成Socket模式,并允许Socket模式。
1. Source the environment on the application tier.
2. Stop all the application tier services:
$INST_TOP/admin/scripts/adstpall.sh
3. Run the following command to enable Forms Socket Mode:
$FND_TOP/bin/txkrun.pl -script=ChangeFormsMode \
-contextfile=$INST_TOP/appl/admin/.xml \
-mode=socket \
-port=9095 \
-runautoconfig=No
4.修改$INST_TOP/appl/admin/.xml,将appserverid_authentication修改为off 
5.执行autoConfig
$INST_TOP/admin/scripts/adautocfg.sh
6. Start all the application tier services:
$INST_TOP/admin/scripts/adstrtal.sh
7 Socket模式访问:
http://.:/OA_HTML/frmservlet
本文转自ITPUB博客tolywang的博客,原文链接:LoadRunner报错vuser_init.c(18): Error: nca_connect_server: cannot communicate,如需转载请自行联系原博主。