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

How can we perform functional testing under load?

699


What are the changes that can be made to run-time settings?

670


What is manual correlation?

739


How many section database vuser script have?

698


You want to have each step in your script measured as a transaction in the controller and not shown in the replay log in vugen. How can you accomplish this?

665






What are different types of vuser logs which can be used while scripting and execution?

662


How can we edit the vuser script?

707


Which protocols are supported by loadrunner?

654


What would be your recommendation to improve performance measure?

700


How to run a scenario?

767


What is remote command launcher?

716


How vugen create a vuser script?

718


While scripting you created correlation rules for automatic correlation. If you want to share the correlation rules with your team member working on the same application so that he/she can use the same on his workstation, how will you do that?

766


What is the difference between load, performance testing?

646


How is each step validated in the script?

733