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

Which of the following is not a performance testing tool?

  1. Load runner

  2. J Meter

  3. QTP

  4. Rad view webload


Correct Option: C
  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
  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.

  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.

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.

  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

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