1. What is JMeter?
a. A load testing tool
b. A functional testing tool
c. A performance testing tool
d. All of the above
Answer: d. All of the above
2. Which protocol does JMeter support?
a. HTTP
b. FTP
c. JDBC
d. All of the above
Answer: d. All of the above
3. Which programming language does JMeter use?
a. Java
b. C++
c. Python
d. Ruby
Answer: a. Java
4. What is a Thread Group in JMeter?
a. A group of users
b. A group of transactions
c. A group of controllers
d. A group of functions
Answer: a. A group of users
5. What is a Sampler in JMeter?
a. A component that generates user requests
b. A component that generates database queries
c. A component that generates reports
d. A component that generates scripts
Answer: a. A component that generates user requests
6. What is the purpose of the Assertion in JMeter?
a. To validate server responses
b. To validate client requests
c. To validate transactions
d. To validate user input
Answer: a. To validate server responses
7. What is the difference between a Response Assertion and a Request Assertion in JMeter?
a. Response Assertion validates server responses, while Request Assertion validates client requests.
b. Response Assertion validates client requests while Request Assertion validates server responses.
c. Response Assertion validates transactions, while Request Assertion validates user input.
d. None of the above.
Answer: a. Response Assertion validates server responses, while Request Assertion validates client requests.
8. What is a Controller in JMeter?
a. A component that generates user input
b. A component that generates database queries
c. A component that generates reports
d. A component that generates scripts
Answer: d. A component that generates scripts
9. Which type of controller is used to run a set of samplers repeatedly?
a. Simple Controller
b. Loop Controller
c. If Controller
d. Random Controller
Answer: b. Loop Controller
10. What is the purpose of a Listener in JMeter?
a. To display test results
b. To monitor system performance
c. To validate user input
d. To display user input
Answer: a. To display test results
11. Which type of Listener is used to generate test reports in JMeter?
a. Summary Report
b. Aggregate Report
c. Graph Results
d. None of the above
Answer: b. Aggregate Report
12. Which component in JMeter is used to simulate user think time?
a. Timer
b. Transaction Controller
c. Post Processor
d. Pre Processor
Answer: a. Timer
13. What is Ramp-up time in JMeter?
a. The time taken to execute a single user request
b. The time taken to execute all user requests
c. The time taken to add users to the test
d. The time taken to shut down the test
Answer: c. The time taken to add users to the test
14. What is the purpose of the HTTP Cookie Manager in JMeter?
a. To manage user sessions
b. To manage server sessions
c. To validate user input
d. None of the above
Answer: a. To manage user sessions
15. Which type of Variable is used to store a value globally in JMeter?
a. User Defined Variable
b. Function
c. Property
d. None of the above
Answer: c. Property
16. What is the function of the CSV Data Set Config in JMeter?
a. To read data from a CSV file
b. To write data to a CSV file
c. To validate user input
d. None of the above
Answer: a. To read data from a CSV file
17. Which type of Timer is used to pause execution for a random amount of time?
a. Gaussian Random Timer
b. Uniform Random Timer
c. Constant Timer
d. None of the above
Answer: b. Uniform Random Timer
18. What is the difference between a Regular Expression Extractor and a CSS/JQuery Extractor in JMeter?
a. Regular Expression Extractor extracts data using regular expressions, while CSS/JQuery Extractor extracts data using CSS or JQuery selectors.
b. Regular Expression Extractor extracts data using CSS or JQuery selectors, while CSS/JQuery Extractor extracts data using regular expressions.
c. Regular Expression Extractor extracts data using regular expressions, while CSS/JQuery Extractor extracts data using regular expressions and CSS or JQuery selectors.
d. None of the above.
Answer: a. Regular Expression Extractor extracts data using regular expressions, while CSS/JQuery Extractor extracts data using CSS or JQuery selectors.
19. What is the difference between a CSV Data Set Config and a JDBC Sampler in JMeter?
a. CSV Data Set Config is used to read data from a CSV file, while JDBC Sampler is used to read data from a database.
b. CSV Data Set Config is used to write data to a CSV file, while JDBC Sampler is used to write data to a database.
c. CSV Data Set Config is used to validate user input, while JDBC Sampler is used to validate server responses.
d. None of the above.
Answer: a. CSV Data Set Config is used to read data from a CSV file, while JDBC Sampler is used to read data from a database.
20. Which type of Timer is used to pause execution until a specified amount of time has elapsed?
a. Constant Timer
b. Uniform Random Timer
c. Gaussian Random Timer
d. None of the above
Answer: a. Constant Timer
21. What is the difference between a Thread Group and a Test Plan in JMeter?
a. Thread Group is a container for samplers and other elements, while Test Plan is a container for Thread Groups, Listeners and other elements.
b. Thread Group is a container for Listeners, while Test Plan is a container for samplers and other elements.
c. Thread Group is a container for properties, while Test Plan is a container for variables.
d. None of the above.
Answer: a. Thread Group is a container for samplers and other elements, while Test Plan is a container for Thread Groups, Listeners and other elements.
22. Which type of Assertion is used to verify the absence of a string in the server response?
a. Response Code
b. Response Data
c. Response Message
d. None of the above
Answer: b. Response Data
23. What is a Test Fragment in JMeter?
a. A reusable component that can be used in different Test Plans.
b. A reusable component that can be used in different Thread Groups.
c. A reusable component that can be used in different Controllers.
d. None of the above.
Answer: a. A reusable component that can be used in different Test Plans.
24. What is the difference between a Pre Processor and a Post Processor in JMeter?
a. Pre Processor executes before each sampler, while Post Processor executes after each sampler.
b. Pre Processor executes after each sampler, while Post Processor executes before each sampler.
c. Pre Processor executes before each Thread Group, while Post Processor executes after each Thread Group.
d. None of the above.
Answer: a. Pre Processor executes before each sampler, while Post Processor executes after each sampler.
25. What is the purpose of the JSR223 Sampler in JMeter?
a. To generate user input using JavaScript
b. To generate user input using Ruby
c. To generate user input using Groovy
d. None of the above
Answer: c. To generate user input using Groovy
26. Which type of Timer is used to pause execution for a specified period of time based on the thread number?
a. Synchronizing Timer
b. BeanShell Timer
c. Loop Controller
d. None of the above
Answer: a. Synchronizing Timer
27. What is the difference between a Stop Test Now and a Stop Test Gracefully in JMeter?
a. Stop Test Now stops the test immediately, while Stop Test Gracefully stops the test after all active requests have completed.
b. Stop Test Now stops the test after all active requests have completed, while Stop Test Gracefully stops the test immediately.
c. Stop Test Now and Stop Test Gracefully are the same.
d. None of the above.
Answer: a. Stop Test Now stops the test immediately, while Stop Test Gracefully stops the test after all active requests have completed.
28. Which type of Assertion is used to verify the response code of the server response?
a. Response Message
b. Response Data
c. Response Code
d. None of the above
Answer: c. Response Code
29. What is the purpose of the HTTP Authorization Manager in JMeter?
a. To manage user authorization
b. To manage server authorization
c. To manage user authentication
d. To manage server authentication
Answer: c. To manage user authentication
30. What is the difference between a While Controller and an If Controller in JMeter?
a. While Controller is used to create loops, while If Controller is used to create conditions.
b. While Controller is used to create conditions, while If Controller is used to create loops.
c. While Controller and If Controller are the same.
d. None of the above.
Answer: a. While Controller is used to create loops, while If Controller is used to create conditions.
31. Which type of Timer is used to pause execution until a specified time and date?
a. Sync Timer
b. Constant Timer
c. Calendar Timer
d. None of the above
Answer: c. Calendar Timer
32. What is the purpose of the Throughput Controller in JMeter?
a. To control the number of threads executed per unit of time.
b. To control the number of samplers executed per unit of time.
c. To control the number of transactions executed per unit of time.
d. None of the above.
Answer: b. To control the number of samplers executed per unit of time.
33. Which type of Assertion is used to verify the message in the server response?
a. Response Message
b. Response Data
c. Response Code
d. None of the above
Answer: a. Response Message
34. What is the purpose of the SMTP Sampler in JMeter?
a. To generate user input using SMTP protocol
b. To generate server response using SMTP protocol
c. To validate server responses using SMTP protocol
d. None of the above
Answer: a. To generate user input using SMTP protocol
35. Which type of Timer is used to pause execution for a fixed amount of time between requests?
a. Constant Timer
b. BeanShell Timer
c. Gaussian Random Timer
d. None of the above
Answer: a. Constant Timer
36. What is the difference between a Debug Sampler and a Debug PostProcessor in JMeter?
a. Debug Sampler is a way to pause the test execution, while Debug PostProcessor is used to debug the server response.
b. Debug Sampler is used to debug the server response, while Debug PostProcessor is used to debug the test execution.
c. Debug Sampler and Debug PostProcessor are the same.
d. None of the above.
Answer: a. Debug Sampler is a way to pause the test execution, while Debug PostProcessor is used to debug the server response.
37. What is the difference between a CSV Data Set Config and a User Defined Variable in JMeter?
a. CSV Data Set Config is used to store data in a CSV file, while User Defined Variable is used to store data in memory.
b. CSV Data Set Config is used to read data from a CSV file, while User Defined Variable is used to write data to a CSV file.
c. CSV Data Set Config is used to validate server responses, while User Defined Variable is used to validate user input.
d. None of the above.
Answer: a. CSV Data Set Config is used to store data in a CSV file, while User Defined Variable is used to store data in memory.
38. What is the difference between a Loop Controller and a While Controller in JMeter?
a. Loop Controller loops for a fixed number of times, while While Controller loops until a condition is met.
b. Loop Controller loops until a condition is met, while While Controller loops for a fixed number of times.
c. Loop Controller and While Controller are the same.
d. None of the above.
Answer: a. Loop Controller loops for a fixed number of times, while While Controller loops until a condition is met.
39. What is the difference between a Throughput Controller and a Constant Throughput Timer in JMeter?
a. Throughput Controller controls the number of samplers executed per unit of time, while Constant Throughput Timer is used to control the number of threads executed per unit of time.
b. Throughput Controller controls the number of threads executed per unit of time, while Constant Throughput Timer is used to control the number of samplers executed per unit of time.
c. Throughput Controller and Constant Throughput Timer are the same.
d. None of the above.
Answer: b. Throughput Controller controls the number of threads executed per unit of time, while Constant Throughput Timer is used to control the number of samplers executed per unit of time.
40. What is the purpose of the FTP Sampler in JMeter?
a. To generate user input using FTP protocol
b. To generate server response using FTP protocol
c. To validate server responses using FTP protocol
d. None of the above
Answer: a. To generate user input using FTP protocol
41. Which type of Listener is used to generate test reports based on multiple test runs?
a. Comparison Assertion
b. Simple Data Writer
c. Aggregate Report
d. None of the above
Answer: c. Aggregate Report
42. What is the difference between a Simple Controller and a Loop Controller in JMeter?
a. Simple Controller is used to create loops, while Loop Controller is used to group samplers and other elements.
b. Simple Controller is used to group samplers and other elements, while Loop Controller is used to create loops.
c. Simple Controller and Loop Controller are the same.
d. None of the above.
Answer: b. Simple Controller is used to group samplers and other elements, while Loop Controller is used to create loops.
43. What is the purpose of the JDBC Request Sampler in JMeter?
a. To generate user input using JDBC protocol
b. To generate server response using JDBC protocol
c. To validate server responses using JDBC protocol
d. None of the above
Answer: a. To generate user input using JDBC protocol
44. What is a View Results Tree in JMeter?
a. A Listener that displays the server response
b. A Controller that generates user input
c. A Sampler that generates requests to the server
d. None of the above
Answer: a. A Listener that displays the server response
45. What is the difference between a HTTP Request and a HTTP Request Defaults in JMeter?
a. HTTP Request is used to send a HTTP request to the server, while HTTP Request Defaults is used to set default values for HTTP requests.
b. HTTP Request is used to set default values for HTTP requests, while HTTP Request Defaults is used to send a HTTP request to the server.
c. HTTP Request and HTTP Request Defaults are the same.
d. None of the above.
Answer: a. HTTP Request is used to send a HTTP request to the server, while HTTP Request Defaults is used to set default values for HTTP requests.
46. What is the purpose of the JSON Path Extractor in JMeter?
a. To extract data from a JSON response using JSON Path expressions.
b. To extract data from a JSON response using regular expressions.
c. To extract data from a JSON request using JSON Path expressions.
d. None of the above.
Answer: a. To extract data from a JSON response using JSON Path expressions.
47. Which type of Timer is used to pause execution for a specified period of time per user?
a. Constant Throughput Timer
b. Gaussian Random Timer
c. Uniform Random Timer
d. None of the above
Answer: a. Constant Throughput Timer
48. What is the difference between a JSR223 Sampler and a BeanShell Sampler in JMeter?
a. JSR223 Sampler executes code using a chosen scripting language, while BeanShell Sampler executes code using BeanShell.
b. JSR223 Sampler executes code using BeanShell, while BeanShell Sampler executes code using a chosen scripting language.
c. JSR223 Sampler and BeanShell Sampler are the same.
d. None of the above.
Answer: a. JSR223 Sampler executes code using a chosen scripting language, while BeanShell Sampler executes code using BeanShell.
49. What is the purpose of the Debug Sampler in JMeter?
a. To generate debug information for samplers
b. To pause test execution
c. To generate data using a chosen scripting language
d. None of the above
Answer: b. To pause test execution
50. What is the purpose of the Aggregate Graph listener in JMeter?
a. To generate test reports
b. To display server response data in a graph
c. To display user input data in a graph
d. None of the above