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
How to find get the Response time of the Online News Feeds (News headlines getting updated in every second with out any user intervention)using Load Runner ?
What is loadrunner controller?
What is the difference between lr_error_message and lr_debug _message?
difference between latency and transaction response time
What is elapsed time in load runner?
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?
How you edit the script?
What is a correlation?
How can we invoke a parellel process in load runner using C or perl language?
What component of loadrunner is used to record a script?
What is pause command?
How do you identify which values need to be correlated in the script? Give an example.
What is loadrunner api function?
What are the section contain by the vugen while creating a vuser script?
What are all the reasons to use the server resources monitor?