Answer Posted / pravash0000@gmail.com
To find out response time of transaction
double dur;
dur=lr_get_transaction_duration("homepage");
lr_stop_transaction("homepage");
lr_log_message("response time of the tranasction is %f",dur);
lr_end_transaction("homepage",LR_AUTO);
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Why vugen is used in lr?
What are the three sections of a vuser script and what is the purpose of each one?
What is vugen recording and scripting?
How will you stop the execution of a script on error?
What is the benefit of running a vuser script as a thread?
How can we debug a loadrunner script?
How can correlation be performed?
How will you handle the situation in scripting where for your mailbox you have to select any one mail randomly to read?
What are the vuser components in loadrunner?
What is the purpose of selecting ‘show browser’ during replay in the general options settings?
What are the four selection methods when choosing data from a data file?
How can performance bottlenecks be identified?
What is the think time?
What is the difference between load, performance testing?
What is the process for developing a vuser script?