How do we write a user-defined function in loadrunner?
Answer Posted / 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 View All Answers
Which loadrunner component does the recording of performance test scenario?
How many types of graphs are available in loadrunner?
What is lr_output_message?
What are different types of vuser logs which can be used while scripting and execution? What is the difference between these logs? When you disable logging?
What do you mean by remote command launcher(rcl)?
What are the element in the loadrunner controller?
Difference b/w 9.1 and 9.5 Versions in LoadRunner?
What is the advantage of using loadrunner?
What is pause command?
What is the difference between lr_error_message and lr_debug _message?
How many vusers are required for load testing?
What are monitors?
You have an application which shows the exam results of the student. Corresponding to name of each student its mentioned whether he passed or failed the exam with the label of “pass” and “fail”. How will you identify the number of passed and failed student in vugen script?
If we want to know the size of each component in system how?
What is ms-windows?