在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博客 ” ,链接:http://blog.itpub.net/35489/viewspace-774058/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/35489/viewspace-774058/
本文详细介绍了如何通过调整环境配置、禁用特定模式、启用Socket模式并进行相应验证,解决LoadRunner录制脚本回放时出现的Socket模式访问错误。包括环境变量设置、命令行操作、XML文件修改及执行自动配置步骤,最终实现成功访问应用。
5181

被折叠的 条评论
为什么被折叠?



