How do we write a user-defined function in loadrunner?



How do we write a user-defined function in loadrunner?..

Answer / sushma

1)First we need to write user defined function in note pad
Save it as .h file
Include the file path in global.h
Eg. #include "f:\ user_fun.h"
2) Add the code directly in global.h and use it where ever u required
3) we can add extra file . By r. Click on extra files and create new or add new file to script. We have to add file and the include the file in global.h

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Load Runner Interview Questions

What is load testing?

6 Answers   Ordain Solutions,


What is the think time?

0 Answers  


ingenaral realtime prjoects how much load and bottile neck will take part in a project?(Chandana)

1 Answers   TCS,


what is the real process dealt in load runner,starting from getting the requirement till submitting the deliverables,when a tester is provided with the scenarios? if any real time user could answer it would be very useful for me.also i need what are the real time bottlenecks u have undergone

4 Answers  


what is runtime quote, how many types

0 Answers   TCS, Wipro,


To open gmail home page how much transactions has taken to open, how to calculate the time?

3 Answers   AZTEC,


What is the scripting language using in LoadRunner?

13 Answers   IBM, Patni, Symphony,


what is is difference between load testing and other testings?

1 Answers   4soft solutions, Four soft,


If you find bottleneck what is your next step?

3 Answers   Symphony,


How you load a loadrunner agent?

0 Answers  


How can you set the number of vusers in loadrunner?

0 Answers  


differance between "lr_output_message" and "lr_error_message"?

2 Answers   Kanbay,


Categories