HP
HP0-M49 · Question #59
HP0-M49 Question #59: Real Exam Question with Answer & Explanation
Sign in or unlock HP0-M49 to reveal the answer and full explanation for question #59. The question stem and answer options stay visible for context.
Question
You are calling a custom function in a script you have written. The custom function takes an integer and is of the format myfunc(int); The HP LoadRunner parameter is called param_quantity. What should you use to call this custom function and pass your param_quantity value to it?
Options
- Amyfunc(({param_quantity}").getInt))
- Bmyfunc( atoi ( lr_eval_string("{param_quantity}")))
- Cmyfunc("{param_quantity}")
- Dmyfunc(lr_string_int("{param_quantity}"))
- Emyfunc((integer) lr_eval_string({"param_quantity}"))
Unlock HP0-M49 to see the answer
You've previewed enough free HP0-M49 questions. Unlock HP0-M49 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.