Listener

JMeter – Listener

As the name implies, the term “Listener” refers to a person whose job it is to listen to or maintain focus on what is happening. Listeners are important in JMeter. These are the only elements that serve the specialized function of tracing the request and response before displaying the result in text, tree, graph, and table format. Essentially, JMeter listeners like ‘View Result Tree help with script development. With the View Result Tree listener, you can:

  • Use the response data to determine the dynamic values.
  • Check the accuracy of the parameter.
  • Review the statement.
  • Check the flow after applying a condition.

In addition to “View Result Tree”, the other listeners display result information and help discover bottlenecks. While JMeter is not the best tool for parsing performance test results, you can still use these listeners or the JMeter HTML report. In this case, I can confidently recommend JMeter’s HTML report via Listener.

JMeter - Listener

Potential Listener parent element(s)

The following elements allow you to add a listener:

  1. Test Plan
  2. Thread Group
  3. Test Fragment
  4. Sampler
  5. Logic Controller
  6. Non-Test Element

Child Element(s)

Any element cannot be added below a listener element. As a result, it lacks any child elements.

List of JMeter’s accessible Listeners

  1. Aggregate Graph
  2. Aggregate Report
  3. Assertion Results
  4. Backend Listener
  5. BeanShell Listener
  6. Comparison Assertion Visualizer
  7. Generate Summary Results
  8. Graph Results
  9. JSR223 Listener
  10. Mailer Visualizer
  11. Response Time Graph
  12. Save Responses to a file
  13. Simple Data Writer
  14. Summary Report
  15. View Results in Table
  16. View Results Tree
Scroll to Top