Q. 21 How to identify what to correlate and what to parameterize?
Ans. All the dynamic values coming from the server should be correlated. You can identify the dynamic values in the following ways:
By replaying the script:
Ans: There are 5 correlation functions available in VuGen. Click the name of the function to get detailed information for each correlation function:
Ans: Correlation rules can be exported in VuGen via navigating:
Record -> Recording Options -> Correlations -> Rules -> Export
The correlation rules are exported in the .cor file and the same file can be imported through VuGen in any other script.
Q. 24 What are different types of Vuser logs which can be used while scripting?
Ans. There are two types of Vuser logs available in LoadRunner:
Ans: Standard log creates a log of functions and messages sent to the server during script execution whereas Extended log contains additional warnings and other messages. Get more details on LoadRunner logs here.
Next: LoadRunner Interview Question #6Ans. All the dynamic values coming from the server should be correlated. You can identify the dynamic values in the following ways:
By replaying the script:
a. Replay the script with the same user: You will get dynamic values like session ID, authentication token etc.
b. Replay the script with the different user: You will get user specific dynamic values like orderID, customerID etc.By comparing generation and replay log:
a. Replay the script
b. If it fails at any particular request then look at the generation and replay log of the same request and identify the dynamic value.Q. 22 What are the correlation function available in VuGen?
Ans: There are 5 correlation functions available in VuGen. Click the name of the function to get detailed information for each correlation function:
a. web_reg_save_param()
b. web_reg_save_param_ex()
c. web_reg_save_param_regexp()
d. web_reg_save_param_json()
e. web_reg_save_param_xpath()Q. 23 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?
Ans: Correlation rules can be exported in VuGen via navigating:
Record -> Recording Options -> Correlations -> Rules -> Export
The correlation rules are exported in the .cor file and the same file can be imported through VuGen in any other script.
Q. 24 What are different types of Vuser logs which can be used while scripting?
Ans. There are two types of Vuser logs available in LoadRunner:
a. Standard log
b. Extended log.Q. 25 What is the difference between Standard Log and Extended Log?
Ans: Standard log creates a log of functions and messages sent to the server during script execution whereas Extended log contains additional warnings and other messages. Get more details on LoadRunner logs here.
Previous: LoadRunner Interview Question #4
No comments:
Post a Comment