What is user defined functions in Load Runner ? Give some
Examples ?

Answer Posted / abdul sameer

User defined functions are very important in VUGEN scripting
part. After recording an application we need to make our
scripting application matching with realtime application so
for this we need to do some enhancements to the existing
script and this enhancement can be done using User Defined
Functions. SOme of the User defined functions are

1. lr_error_message
2. Lr_output_message
3. lr_eval_string
4. lr_save_string
5. lr_save_int
6. lr_continue_on_error
7. web_reg_find
8. atoi function
9. itoa function
10. web_reg_save_param
11. lr_abort
12. lr_exit
13. lr_set_debug_message

we have lot of other function too see the user guide if we
need more user defined functions.

Is This Answer Correct ?    17 Yes 35 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

During run time where the hosts saves the files?

607


What is think time?

564


How are concurrent users differing from simultaneous users?

590


What are the challenges that you will face to script the step “select all” and then “delete” for any mail account?

937


How do you identify which protocol to use for any application?

552






What are the different components of loadrunner?

622


How can we recording vuser scripts using vugen?

624


What are the section contain by the vugen while creating a vuser script?

597


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

568


What are all the types of goals in goal-oriented scenario of load runner?

578


What is the difference between web_reg_find and web_find?

850


How to run a scenario?

680


Hi guys I am pravash kumar satapathy having 4.5yrs experience in loadrunner .i am providing online training in loadrunner,jmeter .if any body are interested directly u can call me or mail me pravashkumarsatapathy@gmail.com pk.loadrunner-----skype 9437629024

1595


When the loadrunner controller open the winrunner file then what is the location of the winner configuration file?

642


What is the modular approach of scripting?

915