|
B.About Scripting in the Virtual User Generator(VuGen)
6.All function prototypes are listed in the library _________ files.These files are located within the include directory of the LoadRunner installation.The contain detailed syntax information,return values,and other information that may not have been included in the Function Reference.(1 point)
7.A LoadRunner _____ measures the performance of the server by measuring the time it takes for the server to respond to specified Vuser requests.(1 point)
8.Create a script that retrieves the name of a host machine and its IP address if IP spoofing is enabled. Use your machine as the host machine.If the IP address is null or empty, write the message “IP Spoofing disabled” in the execution log.If the IP address is not empty, write the IP address in the execution log.Write the name of the host machine in the execution log.
Use parameters as you need them.You are free to name the parameters provided you include a brief description in the script. Save the script as IIB12.Write your script in the space provided on the answer sheet.(4 points)
9.What LoadRunner function can you use to capture today’s date into a parameter?(2 points)
10.In a script,the value for lr_think_time is parameterized.The parameter name is thinktimeParam.The value of thinktime Param is written into the execution log. Write the statements to meet the requirement in the answer sheet.If you used a script to accomplish this requirement,save your script as IIB14.(3 points) |
|