Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How you enhance the basic script?

1100


What is the difference between load, performance testing?

1045


What is filtering and sorting?

1049


What is the difference between hits/second and requests/second?

1079


What is the benefit of running a vuser script as a thread?

985


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?

1153


What are the element in the loadrunner controller?

1084


What is the advantage of using loadrunner?

1035


What are the different components of loadrunner?

1006


How can we develop the database vuser script?

981


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

1123


What kind of problem can we face regarding hardware, software, network and memory bottleneck during the performance test?

1061


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?

1034


What is the purpose of an extended log?

1199


What the vuser script contain?

1015