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

What is the recommended Logging Run-time setting when playing back a script prior to manual correlation?

  1. Standard

  2. Disable Logging

  3. Extended -> Parameter Substitution

  4. Extended -> Data Returned by Server


Correct Option: D

What will happen when you set the animated run delay to 5,000 milliseconds?

  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

AI Explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) When replaying the script, the Run-time Viewer will pause for 5 seconds when an error has occurred. This option is incorrect. The animated run delay setting does not affect how the Run-time Viewer handles errors. It only affects the delay between each line of code execution.

Option B) When replaying the script, the Replay Log will only display the last 5 seconds of logging information. This option is incorrect. The animated run delay setting does not affect the display of logging information in the Replay Log. It only affects the delay between each line of code execution.

Option C) When the script is replayed, the Run-time Viewer will display 5 seconds behind the current line being executed. This option is incorrect. The animated run delay setting does not change the behavior of the Run-time Viewer in terms of displaying the current line being executed. It only affects the delay between each line of code execution.

Option D) 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. This option is correct. When the animated run delay is set to 5,000 milliseconds (5 seconds), each line of code will execute, and then there will be a pause of 5 seconds before the next line of code is executed. This creates a delay between each line of code execution.

The correct answer is Option D. This option is correct because it accurately describes the behavior when the animated run delay is set to 5,000 milliseconds.

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.

  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.