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

How is automated correlation configured?

0 Answers  


what is the difference between Single user and multiple user protocol?

2 Answers  


how to perform load testing of a website using any free automation testing tool?

3 Answers   Tech Mahindra,


How can you set the number of vusers in loadrunner?

0 Answers  


How will you stop the execution of a script on error?

0 Answers  






What is a ramp up and how it can be set?

0 Answers  


difference between GET & POST methods in JAVA?

1 Answers  


What are different types of vuser logs which can be used while scripting and execution?

0 Answers  


When you initialize the vuser what happen?

0 Answers  


Any one could help me please in modeling of OpenSTA performance test script for session-id maintenance,so that edited script can used for several users.

0 Answers  


1.What is the relation b/w Throughput and Response Time?

1 Answers  


Which documet will gives us information about rampup and duration for each transaction? Technically speaking Which document gives us information about Transaction Mix?How do we prepare Transaction Mix?

0 Answers   Allianz,


Categories