How to execute set of multiple SQL queries in Load Runner?
Which component in LR would be used to run the SQL Queries?
Answer / rajat
Follow below mentioned steps in order to execute query
through LR script-
(1) Establish conn with DB
lrd_open_connection(&Con1, LRD_DBTYPE_ORACLE, "bb",
"lion", "hammer", "", 0, 0, 0);
(2) Enter query
lrd_stmt(Csr1, "select ename from employee where
(sal>=1000)\n", -1, 1, 1, 0);
(3) lrd_bind_col(Csr1, 1, &D21_ENAME, 0);
(4) Execute query
lrd_exec(Csr1, 0, 0, 0, 0);
(5) lrd_fetch(Csr1, -3, 1, 0, PrintRow24, 0);
(6) lrd_close_cursor(&Csr2, 0);
(7) lrd_close_connection(&Con1, 0, 0);
| Is This Answer Correct ? | 6 Yes | 1 No |
)what is web protocol& webservices protocol .Can u just give the examples.
ingenaral realtime prjoects how much load and bottile neck will take part in a project?(Chandana)
Difference b/n Loadrunner and Performance center?
explain about goal-oriented scenario in controller
Where do you set Iteration for Vuser testing?
Can u plz tell me what r the functions available in load runner and how to write userdefined functions and what are they?
How do you perform functional testing under load?
Why do you create parameter?
How can we edit the vuser script?
In a web server, database and network are all working fine and now, where could be the problem?
What is the difference between Set_window() and _set_window ()?
on what basis you will provide the recommendations to upgrade the hardware?