0

performance Online Quiz - 7

Description: performance Online Quiz - 7
Number of Questions: 20
Created by:
Tags: performance
Attempted 0/20 Correct 0 Score 0

Scripts are created using

  1. VuGen

  2. Controller

  3. Analyzer

  4. Generator


Correct Option: A

Which is the central console from which Load test is managed?

  1. Analyzer

  2. VuGen

  3. Controller

  4. Generator


Correct Option: C

AI Explanation

To answer this question, you need to understand the components involved in load testing.

In load testing, the central console from which the load test is managed is called the Controller. The Controller is responsible for coordinating and managing the load test by controlling the behavior of the load generators, monitoring performance metrics, and generating reports.

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

Option A) Analyzer - The Analyzer is not the central console from which the load test is managed. The Analyzer is used to analyze the results and generate reports after the load test has been executed.

Option B) VuGen - VuGen, or Virtual User Generator, is used to create the scripts that simulate user behavior during the load test. It is not the central console for managing the load test.

Option C) Controller - This is the correct answer. The Controller is the central console from which the load test is managed. It controls the load generators, monitors performance metrics, and generates reports.

Option D) Generator - The Generator is a component that simulates the load by generating virtual users. It is not the central console for managing the load test.

The correct answer is Option C, Controller. This option is correct because the Controller is the central console from which the load test is managed.

Run Results are created in

  1. controller

  2. generator

  3. analyzer

  4. None of the above


Correct Option: C

Which of the following creates the load

  1. Analyser

  2. Controller

  3. Generator

  4. None of the above


Correct Option: C
  1. Load runner

  2. J Meter

  3. QTP

  4. Rad view webload


Correct Option: C

Which protocol is used for Mainframe applications?

  1. HTTP

  2. RTE

  3. RMI

  4. NONE OF THE ABOVE


Correct Option: B

Which of the following is a disadvantage in Load runner?

  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.

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

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

  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.

You want to emulate a call center for an airline. All representatives login in the morning, perform their business processes, and log out at night. In one day, a representative will Create 40 flight reservations, Modify 10 flight reservations, and Search for 20 flight reservations. A representative cannot perform a Modify without performing a Search first. Which run logic would satisfy the load testing goal?

  1. Create - 67% Search - 16% Block0 - 17% Search Modify

  2. Create - 57% Search - 29% Block0 - 14% Search Modify

  3. Create - 57% Search - 29% Modify - 14%

  4. Create - 67% Search - 16% Modify - 17%


Correct Option: A

AI Explanation

To determine the correct run logic that satisfies the load testing goal, we need to analyze the given information.

In one day, a representative performs the following tasks:

  • Create 40 flight reservations
  • Modify 10 flight reservations
  • Search for 20 flight reservations

It is mentioned that a representative cannot perform a Modify without performing a Search first.

Let's evaluate each option to determine which one satisfies the load testing goal:

Option A) Create - 67% Search - 16% Block0 - 17% Search Modify

  • Create: 67% of the time
  • Search: 16% of the time
  • Block0: 0% of the time (not mentioned in the question)
  • Search Modify: 17% of the time

Option B) Create - 57% Search - 29% Block0 - 14% Search Modify

  • Create: 57% of the time
  • Search: 29% of the time
  • Block0: 14% of the time
  • Search Modify: 0% of the time (not mentioned in the question)

Option C) Create - 57% Search - 29% Modify - 14%

  • Create: 57% of the time
  • Search: 29% of the time
  • Modify: 14% of the time

Option D) Create - 67% Search - 16% Modify - 17%

  • Create: 67% of the time
  • Search: 16% of the time
  • Modify: 17% of the time

Based on the given information, the correct answer is Option A. This option satisfies the load testing goal by allocating the appropriate percentages to each task.

Which function allows you to capture dynamic values returned from the server?

  1. web_reg_find

  2. web_reg_save_find

  3. web_reg_save_value

  4. web_reg_save_param


Correct Option: D

Which keyword is a conditional statement?

  1. If

  2. For

  3. Do

  4. While


Correct Option: A

When modifying the Properties for a Block in the Run-time settings? Run Logic, which Run Logic options are available

  1. File

  2. Unique

  3. Random

  4. Sequential


Correct Option: C,D

You want to have your script define a different e-mail address to each user during a registration process for an e-commerce site, using the following format: [email protected]. Your script will execute a maximum of 50 iterations. How can this be accomplished?

  1. Define a file parameter, start at 1, block size per Vuser: 50, number format: testing%[email protected]

  2. Define a unique number parameter, start at 1, block size per Vuser: 50, number format: Testing%[email protected]

  3. Define a random number parameter, minimum number: 1, maximum number: 99999, number format: testing%[email protected]

  4. Define a sequential number parameter, minimum number: 1, maximum number 999, number format: testing%[email protected]


Correct Option: B
  1. Script view

  2. Recording Log

  3. Tree view -> Client Request

  4. Tree view -> Server Response


Correct Option: D
- Hide questions