Last Updated On
Welcome to the JMeter Quiz! This blog post features 25 multiple-choice questions that explore essential concepts of Performance Testing and JMeter.
1. A thread group does not provide the following control:
Select the best answer
a) Global International Track.
b) Global information Traffic.
c) Global information Tracker
d) None of the above
Answer 1
d) None of the above
These options do not correspond to functionalities or features typically associated with Thread Groups in JMeter.
2. Which of these protocols does not work with JMeter?
Choose one option
a) SOAP/REST
b) WPA/WPA2
c) SMTP/POP3
d) AMQP/MQTT
Answer 2
b) WPA/WPA2
3. During __ testing, different systems can be compared or a single system’s capabilities can be accurately measured in controlled lab conditions.
Choose one option
a) Load
b) Data
c) Stress
d)Reference
Answer 3
a) Load
4. What is the purpose of the Response Assertion in JMeter?
Choose one option
a) To validate the response time
b) To validate the response code
c) To validate the response data
d) To validate the response message
Answer 4
c) To validate the response data
Response Assertion is used to validate the data returned by the server in a response during a performance test. You can specify patterns of text, contents, or regular expressions that must appear in the response, ensuring that the expected data is being returned as part of the test execution.
5. Which component in JMeter is used to simulate a user’s request to a server?
Choose one option
a) Listener
b) Sampler
c) Pre-processor
d) Post-processor
Answer 5
b) Sampler
6. What is the main purpose of a ‘Listener’ in JMeter?
a) To play audio files
b) To provide a scripting environment
c) To display the results of a test
d) To manage user credentials
Answer 6
c) To display the results of a test
7. What is the purpose of ‘Assertions’ in JMeter?
a) To check whether a response contains certain data
b) To terminate the test plan
c) To format the output file
d) To configure user logins
Answer 7
a) To check whether a response contains certain data
8. Which of the following elements is used to add a delay in JMeter tests?
Choose one option
a) Controller
b) Timer
c) Pre-processor
d) Post-processor
Answer 8
b) Timer
9. In JMeter, which assertion is used to verify if a text exists in the response?
Choose one option
a) Size Assertion
b) Duration Assertion
c) XML Assertion
d) Response Assertion
Answer 9
d) Response Assertion
10. What is the function of the ‘Test Plan’ in JMeter?
Choose one option
a) To designate the order in which tests are executed
b) To manage the server logs
c) To write user documentation
d) To create database backups
Answer 10
a) To designate the order in which tests are executed
In JMeter, a Test Plan is a container for all test elements needed for executing performance tests. It defines the sequence and structure of the test, including Thread Groups, Samplers, Listeners, and other elements that form a comprehensive testing scenario.
11. Which of the following elements in JMeter is used to extract data from the response?
Choose one option
a) Timer
b) Sampler
c) Post-processor
d) Pre-processor
Answer11
c) Post-processor
12. Which among the following is not a JMeter Sampler?
Choose one option
a) HTTP Request
b) Monitor Results
c) Debug Sampler
d) MongoDB Script
Answer 12
b) Monitor Results
13. Choose the INVALID timer in Jmeter.
Choose one option
a) Constant Timer
b) Uniform Random Timer
c) Gaussian Random Timer
d) Continue Timer
Answer 13
d) Continue Timer
14. Which configuration element should be used to import file data into variables?
Choose one option
a) Counter
b) Random Variable
c) CSV Data Set Config
d) Simple Config Element
Answer 14
c) CSV Data Set Config
15. You can control the order in which samplers are processed by __.
Choose one option
a) Samplers
b) Logic Controllers
c) Both a and b
d) None of the above
Answer 15
b) Logic Controllers
16. Which of the following is/are the logical controllers?
Choose one option
a) Runtime
b) IF
c) Transaction
d) All of the above
Answer 16
d) All of the above
17. Which of the following is/are the listener(s)?
Choose one option
a) Graph Results
b) Spline Visualizer
c) Assertion Results
d) All of the above
Answer 17
d) All of the above
18. Most commonly used configuration element(s) is/are –
Choose one option
a) HTTP Cache Manager
b) CSS Cache Manager
c) C++ Cache Manager
d) All of the above
Answer 18
a) HTTP Cache Manager
19. Using the Listener element, you can view a visual representation of the data you received from your __ request.
a) Web
b) FTP
c) JMS
d) Database
Answer 19
a) Web
20. What is the full form of WSDL?
Choose one option
a) Web Service Description Language
b) Web Sample Description Language
c) Web Service Data Language
d) Web Sample Data Language
Answer 20
a) Web Service Description Language
21. Which of the following elements in JMeter is used to distribute the load across multiple servers?
Choose one option
a) Controller
b) Listener
c) Sampler
d) Configuration Element
Answer 21
a) Controller
The Controller element in JMeter is used to distribute the load across multiple servers by using the Distributed Testing feature.
22. In how many categories, controllers can be divided?
Choose one option
a) 1
b) 2
c) 3
d) 4
Answer 22
b) 2
Controllers can be divided into 2 categories – Logic Controllers and Runtime Controllers
23. Which of the following elements in JMeter is used to monitor the test results in real-time?
Choose one option
a) Timer
b) Listener
c) Sampler
d) Controller
Answer 23
b) Listener
24. You’re carrying out a load test. Due to the session timeout, all samples fail after the login request. What is your option for dealing with this situation?
Choose one option
a) Add Cookie Manager
b) Add Header Manager
c) Add Footer Manager
d) Add Cache Manager
Answer 24
a) Add Cookie Manager
A Cookie Manager is essential for handling cookies, which are often used to track sessions on web applications. When you add a Cookie Manager to your test plan, it automatically manages cookies sent by the server and resends them with subsequent requests, allowing your simulated users to maintain their session throughout the test.
25. Which Controller tells JMeter to run once per thread?
Choose one option
a) While Controller
b) Loop Controller
c) ForEach Controller
d) All of the above
Answer 25
c) ForEach Controller
====================================================================