Tag: performance

Questions Related to performance

  1. Does not support XML

  2. Does not support middle ware protocols

  3. License is expensive

  4. All of the above


Correct Option: C
  1. Standard

  2. Disable Logging

  3. Extended -> Parameter Substitution

  4. Extended -> Data Returned by Server


Correct Option: D
  1. When replaying the script, the Run-time Viewer will pause for 5 seconds when an error has occurred.

  2. When replaying the script, the Replay Log will only display the last 5 seconds of logging information.

  3. . When the script is replayed, the Run-time Viewer will display 5 seconds behind the current line being executed.

  4. When replaying the script, a line will execute, pause for 5 seconds, execute the next line of code, pause for 5 seconds, and so on.


Correct Option: D

What must you do before attempting to automatically correlate after recording?

  1. . Enable the Auto Correlation feature

  2. Play back the script at least one time

  3. Ensure the snapshots are visible in the Tree view

  4. Add the web_auto_correlation function to the global.h section


Correct Option: B

AI Explanation

To answer this question, you need to understand the process of automatically correlating after recording in performance testing.

Before attempting to automatically correlate after recording, you must perform the following step:

B) Play back the script at least one time

Explanation:

During the playback of the script, the performance testing tool records all the dynamic values and correlations required for subsequent iterations. It captures the values exchanged between the client and server, allowing you to identify and extract the dynamic values that need to be correlated.

Options:

A) Enable the Auto Correlation feature - This option is incorrect because enabling the Auto Correlation feature alone is not sufficient. It is important to play back the script first to capture the dynamic values.

C) Ensure the snapshots are visible in the Tree view - This option is incorrect because although it is important to have the snapshots visible in the Tree view for analysis, it is not a prerequisite for attempting to automatically correlate after recording.

D) Add the web_auto_correlation function to the global.h section - This option is incorrect because adding the web_auto_correlation function to the global.h section is not necessary for attempting to automatically correlate after recording.

The correct answer is B) Play back the script at least one time. This option is correct because playing back the script allows the performance testing tool to capture the dynamic values that need to be correlated.

You want to loop through a block of code 10 times using the for loop. What would accomplish this?

  1. For (i = 0; i < 10; i--)

  2. For (i = 1; i < 10; i--)

  3. For (i = 1; i < 10; i++)

  4. For (i = 1; i <= 10; i++)


Correct Option: D
  1. Vuser ID

  2. Group Name

  3. Iteration Number

  4. Random Number


Correct Option: B

Which function allows you to select the next available parameter?

  1. lr_next_value

  2. web_next_param

  3. lr_advance_param

  4. web_advance_parameter


Correct Option: C

AI Explanation

To answer this question, we need to understand the purpose of each function and determine which one allows us to select the next available parameter.

Option A) lr_next_value - This option is incorrect because lr_next_value is a function used in LoadRunner, a performance testing tool, to retrieve the next value from a parameter list.

Option B) web_next_param - This option is incorrect because there is no standard function with this name in most programming languages or testing tools.

Option C) lr_advance_param - This option is correct because lr_advance_param is a function used in LoadRunner to select the next available parameter.

Option D) web_advance_parameter - This option is incorrect because there is no standard function with this name in most programming languages or testing tools.

The correct answer is C) lr_advance_param. This option is correct because it is the function that allows you to select the next available parameter in LoadRunner.

Which web protocol recording level always generates the web_submit_data function?

  1. ICA

  2. URL

  3. RDP

  4. HTML


Correct Option: B

AI Explanation

To answer this question, you need to understand web protocol recording levels and which one generates the web_submit_data function.

The web protocol recording level that always generates the web_submit_data function is the URL level.

Let's go through each option to understand why it is correct or incorrect:

Option A) ICA - This option is incorrect because the ICA protocol is used for remote desktop and application virtualization, not web protocol recording.

Option B) URL - This option is correct because when recording at the URL level, the web_submit_data function is always generated. The web_submit_data function is used to submit data to the server.

Option C) RDP - This option is incorrect because the RDP protocol is used for remote desktop connections, not web protocol recording.

Option D) HTML - This option is incorrect because the HTML protocol does not generate the web_submit_data function. The HTML protocol is used for recording events on web pages.

The correct answer is B) URL. This option is correct because recording at the URL level always generates the web_submit_data function.