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
How you enhance the basic script?
What is the difference between load, performance testing?
What is filtering and sorting?
What is the difference between hits/second and requests/second?
What is the benefit of running a vuser script as a thread?
You have created several auto-correlation rules. A new tester on your team is preparing to record a group of scripts on the same application on his workstation. What can you do to provide the tester with the correlation rules?
What are the element in the loadrunner controller?
What is the advantage of using loadrunner?
What are the different components of loadrunner?
How can we develop the database vuser script?
How will you stop the execution of a script on error?
What kind of problem can we face regarding hardware, software, network and memory bottleneck during the performance test?
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 is the purpose of an extended log?
What the vuser script contain?