oracle 脚本检查点,oracle nca脚本检查点

oracle 检查点

The above error occurs when LoadRunner is having problem connecting to the server. Some of the most common causes are

1. Make sure that your script is recorded in either of the following mode:

a. HTTP mode, or

b. HTML mode with non-HTML generated elements recorded in separate steps

If not, regenerate (Tools -> Regenerate Vuser) your script.

Note:If you have LoadRunner 7.51 SP1 or below, you will need to re-record.

2. Make sure that NCAJServSessionID is correlated correctly. While generating script, LoadRunner assume that the buffer ended with \r. However, there are cases that it ends with \n. LoadRunner currently does not check for the correct boundary. To verify, replay the script in extended log to find out the correct boundary. If needed, change the RB argument for the web_reg_save_param function.

Example:

web_reg_save_param("NCAJServSessionId", "LB=\r\n\r\n", "RB=\n", "ORD=1", "LAST");

3. On the web_url statement that has the NCAJServSessionID substituted, make sure that the resource argument is set to 0. This will ensure that the resource in which NCAJServSessionID is used is always downloaded regardless of what is set in Run Time Settings.

Example:

web_url("oracle.forms.servlet.ListenerSer",

"URL=http://ABC-123?ifcmd=getinfo&ifhost=mercury&ifip=123.45.789.12",

"TargetFrame=",

"Resource=0",

"RecContentType=application/octet-stream",

LAST);

4. Open the default.cfg file in the script directory using notepad and make sure that it has UseServletMode=2 under the [HttpConnectMode] section for an environment with Forms Listener Servlet.

5. Make sure that there are no changes on the server port number. LoadRunner replays the script with the port number that the application uses during the recording session, a change could cause a problem. To resolve the issue, find out the current port number and modify the connect_server statement to reflect the correct port number.

6. Make sure that you specify the correct SSL version. To do so, add following statement at the beginning of the script,

web_set_sockets_options("SSL_VERSION", "3");

Note: This is a web function. If only Oracle NCA was selected for Multi-Protocol Vuser, make the following changes to .usr file found in script directory:

Change

AdditionalTypes=Oracle_NCA

ActiveTypes=Oracle_NCA

GenerateTypes=Oracle_NCA

to

AdditionalTypes=Oracle_NCA,HTTP

ActiveTypes=Oracle_NCA,HTTP

GenerateTypes=Oracle_NCA,HTTP

有时回放时出现错误,可通过如下方法进行解决

1.

Apply the LR80P23 and LR80P46 patches.

Then replace the "ncarp11i.dll" file with the one in attached.

This is the patch our R&D developped most recently.

2.

Add new parameter to script's default.cfg file under the section for [NCA_GENERAL].

Add as the next parameter:

E.g.

[NCA_GENERAL]

...

NcaTimerWaitMode=3

3.

Add Java_

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值