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
When the loadrunner controller open the winrunner file then what is the location of the winner configuration file?
What are the changes that can be made to run-time settings?
How do you identify which protocol to use for any application?
What is the latest version and language used in load runner?
Which protocols are supported by loadrunner?
What is rendezvous graph?
How can we perform functional testing under load?
Why we insert the rendezvous point while running the scenario?
During the load test, what is the optimum setting for logs?
What is elapsed time in load runner?
How are concurrent users differing from simultaneous users?
Can anyone please mention what are the common errors that we can see while replaying the Vugen script and also while running the controller scneraio and How to handle them with a few examples. This will be greatly helpful.
What is gui vuser and on which platform it will run?
What is the purpose of an extended log?
How will you handle the situation in scripting where for your mailbox you have to select any one mail randomly to read?