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

Where are automatic correlation options set?

770


What is a ramp up and how it can be set?

826


What are the loadrunner testing process?

844


What is the vuser in the scenario?

796


What is the purpose of selecting ‘show browser’ during replay in the general options settings?

801


Hi can anyone help with projects using load runner. I learnt loadrunner but don't have a hands on experience on it.. it will be very much helpful if some can help me up with a project. can email me: priya.joslic@gmail.com

1491


What is x-windows?

812


While the script is running we find some values that may need to be correlated? Is it possible to do manual correlation for those values?

752


What is a difference between pacing and think time?

719


What is the configuration of systems when using load runner?

718


What are the different components of loadrunner?

794


How to run a scenario?

863


What protocols does loadrunner support?

800


What is vuser-init section?

870


What is the modular approach of scripting?

1140