Hi there.
I'm having some troubles with a MS-SQL protocol recording in Vugen 11.0.
I'm recording a 32bit application named "cobis" and when i past it throught protocol advisor, MS-SQL is selected, the data base is sysbase, so i try to record the application and the events come out, but the fact is when i execute the replay button to check it. This error comes out:
Virtual User Script started at : 2014-12-23 17:08:31
Starting action vuser_init.
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(5): lrd_open_connection: User="8497889b150", Server="OFTEST3B1"
Action.c(music): lrd_close_connection: User="8497889b150", Server="OFTEST3B1"
Action.c(10): lrd_open_connection: User="jayalapi", Server="OFTEST3B1"
Action.c(16): lrd_stmt: 5
"b
Action.c(25): lrd_fetch: 0 row(s) fetched (no more data)
Action.c(36): lrd_stmt: 5
"b
Action.c(44): Error: DB-Library error msg (Number=10007, Severity=5, Function=dbresults):
Action.c(44): Error: General SQL Server error: Check messages from the SQL Server.
Action.c(44): lrd_result_set: ERROR, return-code=LRDE2009
Abort was called from an action.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
I've Already created a ODBC connection to the database from the machine where vugen is installed and tested with succedd
Note: The databse is SYBASE. and the Version is 15.7.
The code es de following:
Action()
{
lrd_init(&InitInfo, DBTypeVersion);
lrd_open_connection(&Con1, LRD_DBTYPE_DBLIB, "cebd45740534", lr_decrypt("5512c60e655afa861585ffa6"), "OFTEST3B1", lr_decrypt("5512c60ee"), 0, 0, 0);
lrd_db_option(Con1, OT_DBLIB_SETLAPP, "F472E839", 0);
lrd_open_cursor(&Csr1, Con1, 0);
lrd_close_connection(&Con1, 0, 0);
lrd_close_cursor(&Csr1, 0);
lr_think_time(5);
lrd_open_connection(&Con2, LRD_DBTYPE_DBLIB, "jayalapi", lr_decrypt("5512c60e672d87f214828dd21374ee63c3d73742"), "OFTEST3B1", lr_decrypt(
"5512c60ee"), 0, 0, 1);
lrd_db_option(Con2, OT_DBLIB_SETLAPP, "8DAEA1DA91CDBE86", 0);
lrd_db_option(Con2, OT_DBLIB_SETLHOST, 0, 0);
lrd_open_connection(&Con2, LRD_DBTYPE_DBLIB, "", lr_decrypt("5512c60ee"), "", lr_decrypt("5512c60ee"), 0, 0, 1);
lrd_open_cursor(&Csr2, Con2, 1);
return 0;
}
Looking for somone to help me with this issue.