How do you write user defined functions in LR? Give me few
functions you wrote in your previous project?

Answer Posted / mahesh sv

Before we create the User Defined functions we need to
create the external library (DLL) with the function. We add
this library to VuGen bin directory. Once the library is
added then we assign user defined function as a parameter.
The function should have the following format: __declspec
(dllexport) char* <function name>(char*, char*)Examples of
user defined functions are as follows:GetVersion,
GetCurrentTime, GetPltform are some of the user defined
functions used in my earlier project.

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the process for developing a vuser script?

761


What is parameterization & why is parameterization necessary in the script?

832


What is report viewer?

882


Hi all, I am new to Load Runner. I have run the load runner and i got analyzed reports/graphs. But i am very much confused about how to analyze those graphs. Can any one help me out this problem?

1765


What protocols does loadrunner support?

800


What is rendezvous graph?

864


What is the difference between overlay graph and correlate graph?

882


How we tested remote servers if client is installed in another place

1950


How vugen create a vuser script?

812


How are concurrent users differing from simultaneous users?

760


How can you set the number of vusers in loadrunner?

794


What is extended log?

843


What is vuser-init section?

873


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

758


What is the difference between performance testing and performance engineering?

813