Listeners

              Listeners are the test plan elements that are used to view and analyze the result of performance tests in tabular or graphical form. They also provide the different response time metrices (average time, minimum time, max time etc) of a Sampler request.
How to add a Listener-
step 1: Right Click on Test plan
step 2: Listener and choose the required Listener
you can see the screenshot below for your reference.

                   We can add listeners as child of a particular Thread Group also. In that case, the Listener will use the data of that Thread Group for analysis.

Aggregate Graph

The Aggregate Graph listener is used to display the test results in both tabular form(reports) and graphs.
Aggregate Report
The Aggregate Report listener is used to display and store test results in the form of reports.
Assertion Results
The assertion results listener is used to display the assertion result for each erroneous sampler response. It is advised to not use this listener during performance test as it is very resource intensive. It should be used while debugging and functional testing only.
Backend Listener
The backend listener is a special type of asynchronous listener used specifically with BackendListenerClient for its customization.
BeanShell Listener
The beanshell listener is used to enable beanshell scripting in Jmeter.
BSF Listener
The beanshell listener is used to enable BSF scripting in Jmeter.
Comparison Assertion Visualizer
The Comparison Assertion Visualizer is used to provide the comparison between assertion result in an easy to compare UI.
Generate Summary Results
The Generate Summary results listener is used to store and display detailed test results to log files.
Graph Results
The Graph results listener is used to display each sampler request's response time graph in terms of average, median, deviation and throughput.
JSR223 Listener
The JSR223 Listener is used to enable JSR223 scripting in Jmeter.
Mailer Visualizer
The Mailer Visualizer sampler is used to provide the functionality of sending customized mails in case of some specific error threshold.
Monitor Results
This is a newly added listener in JMeter used to display and store server performance stats.
Response Time Graph
The response time graph is used to provide the graphical representation of response time with time elapsed during the test run.
Save Response to a file
The save response to a file listener is used to store the sampler response in a file. This listener is used while functional testing or debugging the test script.
Simple Data Writer
The simple data writer listener is used to save the sampler response to a file after with different configurations to remove several unnecessary overheads.
Summary Report
The summary report is used to store and display the test result in tabular form just like aggregate report listener but consumes less memory(as per Apache Jmeter).
View Results Tree
This listener is used to provide and store test results for each and every individual sampler.
View Results in Table
The view results in table listener is used to display the sampler response header and response body.


Among those listeners commonly used listners are view reult ,summary report , aggregate and beanshell.

No comments:

Post a Comment