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.
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.
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.
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
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.
ADVERTISEMENT
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.
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.
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
9. Stress Testing is also known as –
- Fatal
- Fatigue
- Former
- Crucial
Answer: B) Fatigue
Explanation:
Stress Testing is also known as Fatigue Testing.
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.
ADVERTISEMENT
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.
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
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.
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.
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.
ADVERTISEMENT
16. In how many categories, controllers can be divided?
- 2
- 3
- 4
- 5
Answer: A) 2
Explanation:
Controllers can be divided into 2 categories.
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
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.
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
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.
ADVERTISEMENT
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.
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
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.
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
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.
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.
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
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.
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.
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)