|
Action.c(5): lrd.c/fjInitDB: Using the "30" entry in section [ODBC_WINNT] in the "lrd.ini" file ("C:\Program Files\Mercury\LoadRunner\bin\lrdb32.dll")
Action.c(14): 错误: C interpreter run time error: Action.c (14): Error -- Unresolved symbol : web_reg_save_param.
Action.c(14): 通知: CCI 跟踪: Compiled_code(0): Action()
.
Action()
{
lrd_init(&InitInfo, DBTypeVersion);
lrd_open_context(&Ctx1, LRD_DBTYPE_ODBC, 0, 0, 0);
lrd_open_context(&Ctx2, LRD_DBTYPE_ODBC, 0, 0, 0);
lrd_db_option(0, OT_ODBC_CP_OFF, 0, 0);
lrd_alloc_connection(&Con1, LRD_DBTYPE_ODBC, Ctx2, 0 /*Unused*/, 0);
lrd_db_option(Con1, OT_ODBC_LOGIN_TIMEOUT, (void FAR const *)15, 0);、
web_reg_save_param("pn","LB=lr_decrypt","RB=)","Ord=1","Relframeid=1");
web_submit_data("","","","","","Name=lr_decrypt","Value={pn}");
lrd_open_connection(&Con1, LRD_DBTYPE_ODBC, "", lr_decrypt("4e3a4873e"), "", lr_decrypt("4e3a487390"), Ctx2, 1, 1);
lrd_free_connection(&Con1, 0 /*Unused*/, 0);
return 0;
}
我用的系统是c/s架构,开始录制脚本出现未找到数据源。然后我手动关联,出现错误:
Action.c(5): lrd.c/fjInitDB: Using the "30" entry in section [ODBC_WINNT] in the "lrd.ini" file ("C:\Program Files\Mercury\LoadRunner\bin\lrdb32.dll")
Action.c(14): 错误: C interpreter run time error: Action.c (14): Error -- Unresolved symbol : web_reg_save_param.
Action.c(14): 通知: CCI 跟踪: Compiled_code(0): Action()
. |
|