Q. 41 How can we debug a LoadRunner script?
Ans: VuGen contains two options to debug Vuser scripts.
a. Run Step by Step command
b. Breakpoints
You can also use any of the function lr_set_debug_message(), lr_debug_message(), lr_output_message(), lr_error_message().
Q. 42 What is the advantage of running the Vuser as the thread?
Ans: Running Vusers as thread helps to support more virtual users count from any load generator machine due to its small memory print feature for the Vusers.
Q. 43 How do you load a load runner Agent?
Ans: While running the scenario, LoadRunner controller instructs the remote agent dispatcher to launch LoadRunner agent. The controller instructs the LoadRunner agent to initialize, run, pause and stop the Vusers.
Q. 44 What is wasted time in VuGen Replay log?
Ans: Waste time is the spent by LoadRunner to writing the logs, keeping the record, running the logic etc. It is never performed by any browser user and just the time spent on the LoadRunner internal activities.
Q. 45 How do you enable text and image checks in VuGen?
Ans: This can be done by using functions web_reg_find (for text check) and web_image_check (for image check) and enabling image and text check from runtime setting.
Run Time Setting -> Preference ->Enable the Image and text check box
Next: LoadRunner Interview Question #10
Previous: LoadRunner Interview Question #8
Ans: VuGen contains two options to debug Vuser scripts.
a. Run Step by Step command
b. Breakpoints
You can also use any of the function lr_set_debug_message(), lr_debug_message(), lr_output_message(), lr_error_message().
Q. 42 What is the advantage of running the Vuser as the thread?
Ans: Running Vusers as thread helps to support more virtual users count from any load generator machine due to its small memory print feature for the Vusers.
Q. 43 How do you load a load runner Agent?
Ans: While running the scenario, LoadRunner controller instructs the remote agent dispatcher to launch LoadRunner agent. The controller instructs the LoadRunner agent to initialize, run, pause and stop the Vusers.
Q. 44 What is wasted time in VuGen Replay log?
Ans: Waste time is the spent by LoadRunner to writing the logs, keeping the record, running the logic etc. It is never performed by any browser user and just the time spent on the LoadRunner internal activities.
Q. 45 How do you enable text and image checks in VuGen?
Ans: This can be done by using functions web_reg_find (for text check) and web_image_check (for image check) and enabling image and text check from runtime setting.
Run Time Setting -> Preference ->Enable the Image and text check box
Next: LoadRunner Interview Question #10
Previous: LoadRunner Interview Question #8
No comments :
Post a Comment