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
What is parameterization & why is parameterization necessary in the script?
What is the use lr_abort function?
What is remote command launcher?
What is the configuration of systems when using load runner?
How to upload media use loadrunner? I record the script but it fail because the top of document is invalidation.How to solve the problem?Which one know the answer please tell me. Thanks!
What is filtering and sorting?
What are the three sections of a vuser script and what is the purpose of each one?
What is vuser script?
What is think time?
For what purpose, user will be using ‘continue on’ error?
What are the information contain by script windows for each script in the list?
How are concurrent users differing from simultaneous users?
How does loadrunner execute a performance scenario?
What is the think time?
What is loadrunner controller?