HP0-M49 Exam Details

  • Exam Code
    :HP0-M49
  • Exam Name
    :HP Virtual User Generator 11.x Software
  • Certification
    :HP Certifications
  • Vendor
    :HP
  • Total Questions
    :63 Q&As
  • Last Updated
    :Apr 01, 2020

HP HP0-M49 Online Questions & Answers

  • Question 1:

    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?

    A. myfunc(({param_quantity}").getInt))
    B. myfunc( atoi ( lr_eval_string("{param_quantity}")))
    C. myfunc("{param_quantity}")
    D. myfunc(lr_string_int("{param_quantity}"))
    E. myfunc((integer) lr_eval_string({"param_quantity}"))

  • Question 2:

    When should you develop a multi-protocol script?

    A. when the script uses HTTP and HTTPS in the same business process
    B. when you want to save resources on the Load Generator
    C. when the business process uses different sets of APIs
    D. when you require better maintenance of the script

  • Question 3:

    Which parameter type will always have the value of one when replayed in VuGen?

    A. Group Name
    B. Iteration Number
    C. Random Number
    D. Vuser ID

  • Question 4:

    What is the unit of measurement for a transaction?

    A. microseconds
    B. milliseconds
    C. seconds
    D. minutes

  • Question 5:

    What is the difference between the URL-based and the HTML-based recording modes?

    A. URL is more accurate, as it traces every resource request.
    B. HTML is more accurate, as it takes into account client-side logic.
    C. HTML replay is based on UI elements, while URL works at the protocol level.
    D. They differ in the way HTTP requests to the server are built during replay.

  • Question 6:

    Which tool should you use to identify the protocol to use?

    A. Protocol Analyzer
    B. Protocol Advisor
    C. HP Diagnostics Probe
    D. HP WebInspect

  • Question 7:

    Consider a business process with login, business logic and logout. Login and logout need to be iterated only once while business logic will be iterated many times. What is the correct way to record in terms of actions in the script?

    A. record the entire business process in action
    B. record the entire business process in vuser_init
    C. record login logic in vuser_init, business logic in action, logout logic in vuser_end
    D. record the entire business process in vuser_end

  • Question 8:

    You are tasked with building a Web script. Upon replay, one URL sometimes throws a 404 error that results in the script execution stopping. You want to continue running the script when this 404 occurs because it is not critical to the test. Which command allows you to ignore this failure and continue the script execution?

    A. lr_continue_on_failure(1);
    B. lr_failure_continue(1);
    C. lr_continue_on_error(1);
    D. lr_error_continue(1);

  • Question 9:

    A script needs to run a specific Web URL request 10 times. Which C function should be used?

    A. loop
    B. for
    C. next
    D. until
    E. for each

  • Question 10:

    You are asked to generate a string value that will be unique for every user for a given scenario execution. You are running the test in HP LoadRunner Controller. Which minimum set of values provided by lr_whoami provides a unique string value for every user, even if you have multiple groups?

    A. int *vuser_id, int *scid //userid and scenario id
    B. int *user_id, char **sgroup, int *scid //user id and group name and scenario id
    C. int *vuser_id, char **sgroup //user id and group name
    D. int *user_id, char **sgroup //user id and group name
    E. int *vuser_id // user id

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only HP exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your HP0-M49 exam preparations and HP certification application, do not hesitate to visit our Vcedump.com to find your solutions here.