Home »
MCQs
JMeter Multiple-Choice Questions (MCQs)
Apache JMeter is an Apache project that can be used as a load testing tool for analyzing and measuring the performance of a variety of services, with a focus on web applications.
JMeter MCQs: This section contains multiple-choice questions and answers on the various topics of JMeter. Practice these MCQs to test and enhance your skills on JMeter.
List of JMeter MCQs
1. This graphical application is 100% Java-based and open source, also known as ____ JMeter.
- Apache
- Java
- Ajax
- SQL
Answer: A) Apache
Explanation:
This graphical application is 100% Java-based and open source, also known as Apache JMeter.
Discuss this Question
2. Testing ____ applications are the primary use of JMeter, but other uses are functional testing, JDBC database connections, Web services, generic TCP connections, and OS native processes as well.
- Web
- FTP
- Both A and B
- None of the above
Answer: C) Both A and B
Explanation:
Testing Web applications or FTP applications is the primary use of JMeter, but other uses are functional testing, JDBC database connections, Web services, generic TCP connections, and OS native processes as well.
Discuss this Question
3. The JMeter performance testing tool offers various test activities, such as ____, Regression, and Functional testing, in order to determine your web server's performance metrics accurately.
- Performance
- Load
- Stress
- All of the above
Answer: D) All of the above
Explanation:
The JMeter performance testing tool offers various test activities, such as Performance, Load, Stress, Regression, and Functional testing, in order to determine your web server's performance metrics accurately.
Discuss this Question
4. What is/are the feature(s) of JMeter?
- Open source application
- User-friendly GUI
- Support various testing approaches
- All of the above
Answer: D) All of the above
Explanation:
The features of JMeter are -
- Open source application
- User-friendly GUI
- Support various testing approaches
Discuss this Question
5. Tests of software performance evaluate the application's performance under expected or higher loads as a ____ test.
- Non-functional
- Semi-functional
- Functional
- None of the above
Answer: A) Non-functional
Explanation:
Tests of software performance evaluate the application's performance under expected or higher loads as a non-functional test.
Discuss this Question
6. Different performance attributes of the system are measured during performance testing, such as ____, scalability, and stability.
- Response time (speed)
- Reliability
- Resource Use
- All of the above
Answer: D) All of the above
Explanation:
Different performance attributes of the system are measured during performance testing, such as response time (speed), reliability, resource use, scalability, and stability.
Discuss this Question
7. Why is Performance Testing needed?
- It is important to test the final software product for speed, scalability, and stability under a variety of load conditions before launching it into the market.
- It's likely to cause slow processing and poor usability if the product goes live without performing performance testing, which can negatively affect the sales goal.
- Both A and B
- None of the above
Answer: C) Both A and B
Explanation:
Performance Testing is needed because -
- It is important to test the final software product for speed, scalability, and stability under a variety of load conditions before launching it into the market.
- It's likely to cause slow processing and poor usability if the product goes live without performing performance testing, which can negatively affect the sales goal.
Discuss this Question
8. What is/are the type(s) of Performance Testing?
- Load
- Stress
- Both A and B
- None of the above
Answer: C) Both A and B
Explanation:
The types of Performance Testing are -
- Load
- Stress
Discuss this Question
9. Stress Testing is also known as -
- Fatal
- Fatigue
- Former
- Crucial
Answer: B) Fatigue
Explanation:
Stress Testing is also known as Fatigue Testing.
Discuss this Question
10. During ____ testing, different systems can be compared or a single system's capabilities can be accurately measured in controlled lab conditions.
- Load
- Stress
- Reference
- Data
Answer: A) Load
Explanation:
During load testing, different systems can be compared or a single system's capabilities can be accurately measured in controlled lab conditions.
Discuss this Question
11. ____, logic controllers, and configuration elements make up a test plan.
- Assertions
- Listeners
- Timers
- All of the above
Answer: D) All of the above
Explanation:
Assertions, listeners, timers, logic controllers, and configuration elements make up a test plan.
Discuss this Question
12. The major components of JMeter is/are -
- Test Plan
- Thread Group
- Controllers
- All of the above
Answer: D) All of the above
Explanation:
Major components of JMeter are -
- Test Plan
- Thread Group
- Controllers, etc
Discuss this Question
13. Test plans include everything that is going to be executed in a sequence that follows the sequence outlined in the plan from ____.
- Top to bottom
- Bottom to top
- Left to right
- Right to left
Answer: A) Top to bottom
Explanation:
Test plans include everything that is going to be executed in a sequence that follows the sequence outlined in the plan from top to bottom.
Discuss this Question
14. An important point regarding a test plan is/are -
- In order to run the entire test plan, it is necessary to save the test plan first.
- .JMX files are used to store JMeter files and test plans.
- Parts of the test plan can also be saved as different selections.
- All of the above
Answer: D) All of the above
Explanation:
Important points regarding a test plan is/are -
- In order to run the entire test plan, it is necessary to save the test plan first.
- .JMX files are used to store JMeter files and test plans.
- Parts of the test plan can also be saved as different selections.
Discuss this Question
15. A thread group does not provide the following control:
- Decide how many threads to run.
- Decide how long your ramp-up period will be.
- Tests should be run a certain number of times.
- Decide how to test the dataset.
Answer: D) Decide how to test the dataset.
Explanation:
A thread group does not provide the control to decide how to test the dataset.
Discuss this Question
16. In how many categories, controllers can be divided?
- 2
- 3
- 4
- 5
Answer: A) 2
Explanation:
Controllers can be divided into 2 categories.
Discuss this Question
17. Which of the following is/are the category of the controller?
- Samplers
- Logical Controllers
- Both A and B
- None of the above
Answer: C) Both A and B
Explanation:
The following are the categories of the controller -
- Samplers
- Logical Controllers
Discuss this Question
18. You can control the order in which samplers are processed by ____.
- Samplers
- Logic Controllers
- Both a and b
- None of the above
Answer: B) Logic Controllers
Explanation:
You can control the order in which samplers are processed by logic controllers.
Discuss this Question
19. Which of the following is/are the logical controllers?
- Runtime
- IF
- Transaction
- All of the above
Answer: D) All of the above
Explanation:
The following are the logical controllers -
- Runtime
- IF
- Transaction
Discuss this Question
20. Clients are presented with various forms of server responses during ____ testing.
- Search
- Performance
- Server
- Peer-to-peer
Answer: B) Performance
Explanation:
Clients are presented with various forms of server responses during performance testing.
Discuss this Question
21. As JMeter's sampler component executes, ____ provides visual representations of the data gathered about those test cases.
- Listeners
- Timers
- Functions
- Threads
Answer: A) Listeners
Explanation:
As JMeter's sampler component executes, listeners, provide visual representations of the data gathered about those test cases.
Discuss this Question
22. Which of the following is/are the listener(s)?
- Graph Results
- Spline Visualizer
- Assertion Results
- All of the above
Answer: D) All of the above
Explanation:
The following are the listeners -
- Graph Results
- Spline Visualizer
- Assertion Results
Discuss this Question
23. Websites and apps naturally have ____ when performing operations.
- Delays
- Pauses
- Both A and B
- None of the above
Answer: C) Both A and B
Explanation:
Websites and apps naturally have delays and pauses when performing operations.
Discuss this Question
24. Which of the following is/are the timer element(s)?
- Synchronizing Timer
- BeanShell Time
- Uniform Random Timer
- All of the above
Answer: D) All of the above
Explanation:
The following are the timer elements -
- Synchronizing Timer
- BeanShell Time
- Uniform Random Timer
Discuss this Question
25. Most commonly used configuration element(s) is/are -
- HTTP Cache Manager
- CSS Cache Manager
- C++ Cache Manager
- All of the above
Answer: A) HTTP Cache Manager
Explanation:
Most commonly used configuration elements are HTTP Cache Manager.
Discuss this Question
26. This element is used to update variables outside of the response text that has not been extracted from a ____ just before it runs.
- Sample request
- Data request
- Performance request
- Function request
Answer: A) Sample request
Explanation:
This element is used to update variables outside of the response text that has not been extracted from a sample request just before it runs.
Discuss this Question
27. Which of the following is/are the pre-processor element(s)?
- JDBC
- JSR223
- Beanshell
- All of the above
Answer: D) All of the above
Explanation:
The following are the pre-processor elements -
- JDBC
- JSR223
- Beanshell
Discuss this Question
28. Using the Listener element, you can view a visual representation of the data you received from your ____ request.
- Web
- FTP
- JMS
- Database
Answer: B) FTP
Explanation:
Using the Listener element, you can view a visual representation of the data you received from your FTP request.
Discuss this Question
29. What is the full form of WSDL?
- Web Service Description Language
- Web Sample Description Language
- Web Service Data Language
- Web Sample Data Language
Answer: A) Web Service Description Language
Explanation:
The full form of WSDL is Web Service Description Language.
Discuss this Question
30. There are broad category/ies of web services:
- Simple Object Access Protocol (SOAP)
- Representational State Transfer (REST)
- Both A and B
- None of the above
Answer: C) Both A and B
Explanation:
There are two broad categories of web services:
- Simple Object Access Protocol (SOAP)
- Representational State Transfer (REST)
Discuss this Question