Apache Jmeter Trivia Quiz

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Abdul
A
Abdul
Community Contributor
Quizzes Created: 8 | Total Attempts: 22,671
Questions: 30 | Attempts: 1,894

SettingsSettingsSettings
Apache Jmeter Trivia Quiz - Quiz


Questions and Answers
  • 1. 

    Which of the following Extractors allows the user to extract values from an XML/HTML response?

    • A.

      Regular Expression Extractor

    • B.

      None of the above

    • C.

      XPath Extractor

    • D.

      CSS Selector/JQuery Extractor

    Correct Answer
    A. Regular Expression Extractor
    Explanation
    The correct answer is Regular Expression Extractor. This extractor allows the user to extract specific values from an XML/HTML response by using regular expressions. Regular expressions are powerful tools that can be used to match and extract patterns from text, making them suitable for extracting values from structured data like XML or HTML. XPath Extractor and CSS Selector/JQuery Extractor are also used for extracting values from HTML/XML responses, but they use different syntax and techniques compared to regular expressions.

    Rate this question:

  • 2. 

    Jmeter does not support

    • A.

      Load Testing

    • B.

      Functional Testing

    • C.

      Distributed Testing

    • D.

      Monkey Testing

    Correct Answer
    D. Monkey Testing
    Explanation
    JMeter does not support Monkey Testing. Monkey Testing is a form of random testing where inputs are generated randomly without any specific test case in mind. JMeter is primarily designed for load testing, functional testing, and distributed testing. It allows users to simulate heavy loads on servers, test the functionality of web applications, and distribute the load across multiple machines. However, Monkey Testing is not a feature provided by JMeter.

    Rate this question:

  • 3. 

    Jmeter is not used for

    • A.

      Accessibility Testing

    • B.

      Testing web application

    • C.

      Database server test

    • D.

      Functional test

    Correct Answer
    A. Accessibility Testing
    Explanation
    JMeter is not used for Accessibility Testing. JMeter is primarily used for load testing and performance testing of web applications. It simulates multiple users accessing the application simultaneously to measure its performance under different loads. Accessibility testing, on the other hand, focuses on ensuring that the application is accessible to users with disabilities and complies with accessibility standards. This type of testing requires specialized tools and techniques that are not provided by JMeter.

    Rate this question:

  • 4. 

    Stress testing is not possible by Jmeter?

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    False. This statement is incorrect. JMeter is a widely used tool for stress testing and can simulate heavy loads on a server, network, or object to measure its performance under different conditions. It allows users to create and execute various types of tests, including stress testing, to analyze the system's behavior and identify any bottlenecks or performance issues. Therefore, stress testing is possible by JMeter.

    Rate this question:

  • 5. 

    Jmeter can be used to test performance of

    • A.

      Only static resources

    • B.

      Only dynamic resources

    • C.

      Both static and dynamic

    • D.

      None of the above

    Correct Answer
    C. Both static and dynamic
    Explanation
    JMeter is a performance testing tool that can be used to test the performance of both static and dynamic resources. Static resources refer to files that do not change, such as HTML, CSS, and image files, while dynamic resources refer to files that are generated by a server or application in real-time, such as web pages with dynamic content or API responses. JMeter allows testers to simulate multiple users accessing these resources simultaneously, measure response times, and identify performance bottlenecks. Therefore, JMeter is a versatile tool that can be used for testing the performance of both static and dynamic resources.

    Rate this question:

  • 6. 

    Select INVALID timer in Jmeter

    • A.

      Uniform Random Timer

    • B.

      Gaussian Random Timer

    • C.

      Constant Timer

    • D.

      Continue Timer

    Correct Answer
    D. Continue Timer
    Explanation
    The "Continue Timer" is not a valid timer in JMeter. JMeter provides various timers to simulate different types of user behavior and think time between requests. The "Continue Timer" option does not exist in JMeter's list of timers. The correct answer is "Continue Timer".

    Rate this question:

  • 7. 

    Select controller which makes the user request run with a specified number of times

    • A.

      Random controller

    • B.

      Loop controller

    • C.

      Logic controller

    • D.

      Recording controller

    Correct Answer
    B. Loop controller
    Explanation
    The Loop controller is the correct answer because it allows the user to specify the number of times a request should be executed. This controller is used to create loops within the test plan, enabling the user to repeat a set of requests a specific number of times. By using the Loop controller, the user can control the flow and repetition of requests in their performance testing scenarios.

    Rate this question:

  • 8. 

    Which of the following is not a JMeter Sampler?

    • A.

      MongoDB Script

    • B.

      Debug Sampler

    • C.

      HTTP Request

    • D.

      Monitor Results

    Correct Answer
    D. Monitor Results
    Explanation
    The Monitor Results is not a JMeter Sampler because it is used for monitoring and collecting performance metrics of the server under test, rather than simulating user actions or generating load. It allows users to analyze server performance by collecting data such as response time, throughput, and error rate.

    Rate this question:

  • 9. 

    Which assertion is not used in Jmeter?

    • A.

      Duration

    • B.

      Size

    • C.

      XML

    • D.

      Web

    Correct Answer
    D. Web
    Explanation
    The assertion "Web" is not used in JMeter. JMeter is primarily used for performance testing and load testing of web applications. It provides various built-in assertions like Duration and Size to validate the performance and behavior of the web application under different scenarios. However, there is no specific assertion called "Web" in JMeter.

    Rate this question:

  • 10. 

    Logic Controllers determine

    • A.

      The Types of requests that are executed

    • B.

      The source of requests that are executed

    • C.

      The order in which user request are executed

    • D.

      The level of requests that are executed

    Correct Answer
    C. The order in which user request are executed
    Explanation
    Logic Controllers determine the order in which user requests are executed. This means that they prioritize and sequence the requests based on predefined logic and rules. By determining the order, the logic controllers ensure that the user requests are processed in a systematic and organized manner, optimizing the efficiency and effectiveness of the system.

    Rate this question:

  • 11. 

    Select INVALID controller in Jmeter

    • A.

      Simple controller

    • B.

      Static controller

    • C.

      Random controller

    • D.

      Loop controller

    Correct Answer
    B. Static controller
    Explanation
    A static controller in JMeter is used to group and organize Samplers and other elements within a test plan. It does not have any logic or functionality, but rather serves as a container for other elements. In this context, selecting a static controller as an "INVALID" controller would not have any impact on the test plan execution. It would simply act as a placeholder without affecting the behavior or results of the test.

    Rate this question:

  • 12. 

    Select controller which makes the user request run specified number of times

    • A.

      Loop controller

    • B.

      Random controller

    • C.

      Logic controller

    • D.

      Recording controller

    Correct Answer
    A. Loop controller
    Explanation
    The Loop controller is the correct answer because it allows the user request to run a specified number of times. It is used to control the number of iterations or loops in a test plan. By adding the Loop controller, the user request can be repeated a certain number of times, ensuring that it is executed repeatedly according to the desired number of iterations. This is useful for load testing or simulating multiple users accessing the system.

    Rate this question:

  • 13. 

    Select testing which uses multiple systems to perform stress testing.

    • A.

      Load Testing

    • B.

      Functional Testing

    • C.

      Distributed Testing

    • D.

      Web application testing

    Correct Answer
    C. Distributed Testing
    Explanation
    Distributed testing is the correct answer because it involves using multiple systems to perform stress testing. In distributed testing, the workload is distributed across multiple systems to simulate real-world scenarios and test the system's performance under heavy loads. This type of testing helps identify any bottlenecks or performance issues that may occur when multiple systems are accessing the application simultaneously. Load testing, functional testing, and web application testing do not necessarily involve the use of multiple systems for stress testing.

    Rate this question:

  • 14. 

    Timer which delays each user request for a random amount of time.

    • A.

      Gaussian Random Timer

    • B.

      Constant Timer

    • C.

      Constant Random Timer

    • D.

      Uniform Random Timer

    Correct Answer
    A. Gaussian Random Timer
    Explanation
    A Gaussian Random Timer is the correct answer because it delays each user request for a random amount of time, following a Gaussian distribution. This means that the delay times will be randomly distributed around a mean value, with the majority of delays falling close to the mean. This type of timer is useful for simulating realistic user behavior, where there is a natural variation in response times.

    Rate this question:

  • 15. 

    Which applications can be tested using Jmeter?

    • A.

      TCP

    • B.

      IMAP

    • C.

      LDAP

    • D.

      All of the above

    Correct Answer
    D. All of the above
    Explanation
    JMeter is a popular open-source tool for load testing and performance testing. It can be used to test various types of applications including TCP, IMAP, and LDAP. TCP (Transmission Control Protocol) is a widely used protocol for transmitting data over networks. IMAP (Internet Message Access Protocol) is a protocol used for accessing and retrieving email messages. LDAP (Lightweight Directory Access Protocol) is a protocol used for accessing and managing directory information services. Therefore, JMeter can be used to test all of these applications.

    Rate this question:

  • 16. 

    You are running a load test. After Login request, all samples are failing due to the session timeout. How do you solve this scenario?

    • A.

      Add Cookie Manager

    • B.

      Add Header Manager

    • C.

      Add Cache Manager

    • D.

      Add Footer Manager

    Correct Answer
    C. Add Cache Manager
    Explanation
    In this scenario, adding a Cache Manager would be the correct solution. The Cache Manager in load testing helps to simulate the caching behavior of a browser, which can help in handling session timeouts. By adding the Cache Manager, the load test will be able to store and retrieve certain resources, such as session cookies, from the cache, reducing the chances of session timeouts and allowing the samples to pass successfully.

    Rate this question:

  • 17. 

    Which of the following platforms isn’t supported by JMeter?

    • A.

      MAC OS X

    • B.

      Windows

    • C.

      REACT OS

    • D.

      Linux

    Correct Answer
    C. REACT OS
    Explanation
    JMeter is a performance testing tool that is primarily designed to work on Windows, Linux, and MAC OS X operating systems. REACT OS is not supported by JMeter. REACT OS is an open-source operating system that aims to be compatible with Windows applications and drivers. However, since JMeter does not specifically mention support for REACT OS, it can be inferred that it is not supported by JMeter.

    Rate this question:

  • 18. 

    What kind of applications can be tested using JMeter?

    • A.

      Websites

    • B.

      Web services both - REST and SOAP

    • C.

      Databases(JDBC)

    • D.

      All of the above

    Correct Answer
    D. All of the above
    Explanation
    JMeter is a powerful tool that can be used to test various types of applications. It supports testing of websites, web services (both REST and SOAP), and databases (JDBC). Therefore, the correct answer is "All of the above" as JMeter can be used to test all these types of applications effectively.

    Rate this question:

  • 19. 

    They provide visual access to the data gathered by JMeter

    • A.

      Listener

    • B.

      Assertions

    • C.

      Samplers

    • D.

      Logic Controllers

    Correct Answer
    A. Listener
    Explanation
    Listeners in JMeter provide visual access to the data gathered during performance testing. They allow users to view and analyze the results of the test in various formats such as tables, graphs, and trees. Listeners help in monitoring the performance of the application under test by displaying metrics like response time, throughput, and error rates. They are essential for identifying bottlenecks, analyzing performance trends, and making informed decisions for optimizing the application's performance.

    Rate this question:

  • 20. 

    This lets us set default values that our Request controllers use

    • A.

      Configuration Elements

    • B.

      Assertions

    • C.

      Logic Controllers

    • D.

      Listeners

    Correct Answer
    A. Configuration Elements
    Explanation
    Configuration Elements allow us to set default values that our Request controllers use. They provide additional functionality and configuration options to our test plan. By using Configuration Elements, we can define variables, add HTTP headers, set cookies, and configure other settings that will be applied to all the requests within the test plan. This helps in simplifying the test plan setup and ensures consistent behavior across multiple requests.

    Rate this question:

  • 21. 

    Allows the user to create _______________-that can be referenced anywhere in the Thread Group

    • A.

      Login Controllers

    • B.

      Samplers

    • C.

      Counters

    • D.

      Option 4

    Correct Answer
    C. Counters
    Explanation
    Counters in JMeter allow the user to create variables that can be referenced anywhere in the Thread Group. Counters are used to generate unique values for each user or thread in a test plan. They can be used to simulate real-world scenarios where different users perform different actions simultaneously. By using counters, the user can create unique identifiers or incrementing values that can be used in requests, assertions, or any other part of the test plan.

    Rate this question:

  • 22. 

    Following are the XML Assertions: Find valid

    • A.

      /retunr/message='Success‘

    • B.

      //retunr/message="Success"

    • C.

      \\return\code='1'

    • D.

      //retunr/message='Success'

    Correct Answer
    D. //retunr/message='Success'
    Explanation
    The correct answer is "//retunr/message='Success'". This XPath expression is searching for a valid XML element with the tag name "retunr" and a child element with the tag name "message" and a value of "Success". The double slashes "//" indicate that the element can be anywhere in the XML document.

    Rate this question:

  • 23. 

    Find below WebApplication XML Code <html> <head> <title>AdactIn.com - Hotel Reservation System</title> </head> <body></body> </html> Find xpath assertion for above code

    • A.

      //head/title/text()=‘AdactIn.com - Hotel Reservation System’

    • B.

      //head/title/text()="AdactIn.com - Hotel Reservation System"

    • C.

      //title[@text= ‘AdactIn.com - Hotel Reservation System’]

    • D.

      //title[text= "AdactIn.com - Hotel Reservation System"

    Correct Answer
    A. //head/title/text()=‘AdactIn.com - Hotel Reservation System’
    Explanation
    The correct answer is "//head/title/text()=‘AdactIn.com - Hotel Reservation System’". This is the correct XPath assertion because it accurately identifies the desired element in the XML code. It specifies that the XPath should select the text content of the "title" element within the "head" element, and that the text content should be equal to "AdactIn.com - Hotel Reservation System".

    Rate this question:

  • 24. 

    If we want to have each thread pause for the same amount of time between requests, use this timer.

    • A.

      Constant Timer

    • B.

      Uniform Random Timer

    • C.

      Gaussian Random Timer

    • D.

      Constant Throughput Timer

    Correct Answer
    A. Constant Timer
    Explanation
    The Constant Timer is the appropriate choice in this scenario because it allows each thread to pause for the same amount of time between requests. This ensures that the timing of the requests is consistent and controlled. The other timers mentioned, such as the Uniform Random Timer and Gaussian Random Timer, introduce randomness into the timing, which may not be desired in this case. The Constant Throughput Timer is used to maintain a constant throughput of requests, rather than controlling the timing between requests.

    Rate this question:

  • 25. 

    Which is not an attribute of setting up FTP Request

    • A.

      Domain name / IP address of FTP server

    • B.

      File name to retrieve

    • C.

      Credentials of FTP account User

    • D.

      Local file contents

    Correct Answer
    D. Local file contents
    Explanation
    Local file contents is not an attribute of setting up FTP Request. When setting up an FTP Request, you need to provide the domain name or IP address of the FTP server, the file name to retrieve, and the credentials of the FTP account user. These attributes are necessary to establish a connection with the FTP server and retrieve the desired file. However, the local file contents are not relevant at this stage as it pertains to the file that will be saved or manipulated on the local machine after it has been retrieved from the FTP server.

    Rate this question:

  • 26. 

    This element is purely for code re-use within Test Plans

    • A.

      Test Fragment

    • B.

      Configuration Element

    • C.

      Logic Controller

    • D.

      Post-processors

    Correct Answer
    A. Test Fragment
    Explanation
    A Test Fragment is a reusable element in Test Plans that allows for code re-use. It can contain multiple elements such as Samplers, Config Elements, and Post-processors. Test Fragments are useful when there is a need to reuse a set of elements across multiple test plans. They can be included in a test plan by using a Module Controller.

    Rate this question:

  • 27. 

    -----------------------------means that the regular expression matched the whole target

    • A.

      Matched

    • B.

      Equal

    • C.

      Substring

    • D.

      Contains

    Correct Answer
    A. Matched
    Explanation
    The term "matched" in the context of regular expressions means that the regular expression has successfully found a match for the entire target string. It indicates that the regular expression pattern has been applied to the target string, and the pattern has been found in its entirety without any leftover or unmatched characters. Therefore, "matched" is the correct answer as it accurately describes the result of a successful match between the regular expression and the target string.

    Rate this question:

  • 28. 

    _________________is the process of extracting some values from the response of a step and referring it into the request of other subsequent step

    • A.

      Correlation

    • B.

      Regular Expression Extractor

    • C.

      Regular Expression Tester

    • D.

      Post-processing

    Correct Answer
    A. Correlation
    Explanation
    Correlation is the process of extracting some values from the response of a step and referring it into the request of other subsequent step. This allows for the transfer of relevant data between steps, ensuring that the subsequent steps have the necessary information to execute successfully.

    Rate this question:

  • 29. 

    How will you save recorded responses in JMeter?

    • A.

      Add view results Tree to Thread Group

    • B.

      Add View Results in Table to Thread Group

    • C.

      Add View Results Tree to Http Test Script Recorder

    • D.

      Add View Results Table to Http Test Script Recorder

    Correct Answer
    C. Add View Results Tree to Http Test Script Recorder
    Explanation
    To save recorded responses in JMeter, you need to add the "View Results Tree" listener to the "Http Test Script Recorder". This listener allows you to view the recorded responses in a tree-like structure, providing detailed information such as request and response data, headers, and response time. By adding this listener to the Http Test Script Recorder, you can easily save and analyze the recorded responses for further analysis and testing purposes.

    Rate this question:

  • 30. 

    Which of the following defines Assertions in JMeter?

    • A.

      Report back test results

    • B.

      Allows simultaneous testing scenarios

    • C.

      Set the criteria for a test to pass

    • D.

      None

    Correct Answer
    C. Set the criteria for a test to pass
    Explanation
    Assertions in JMeter are used to set the criteria for a test to pass. They allow testers to define specific conditions that need to be met during the test execution. These conditions can include checking for the presence of certain text, verifying the response code, or validating the response time. Assertions help in ensuring the correctness and reliability of the test results by validating the expected behavior of the application being tested.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Aug 21, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Dec 03, 2018
    Quiz Created by
    Abdul
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.