You are on page 1of 8

Listener

Home / JMeter

November 6, 2016 JMeter By Rida Sattar

JMeter Tutorial

JMeter SetUp

JMeter Basics

Build JMeter Test Plan

Elements of Test Plan

Listener allows us to view and analyze the Sampler request and response in the form of tables, graphs, trees etc. You can also save
results in a file and read saved results later. You can access the sampler result in an ongoing load/stress test without waiting till end.

Listener can be added anywhere in the test plan. It will gather data only from elements defined in its scope.

List of listeners is as follows:

Aggregate Graph
Aggregate Report
Assertion Results
Backend Listener
BeanShell Listener
BSF Listener
Comparison Assertion Visualizer
Generate Summary Results
Graph Results
JSR223 Listener
Mailer Visualizer
Monitor Results
Response Time Graph
Saves Responses to a file
Simple Data Writer
Summary Report
View Results in Table
View Results Tree

Let’s have a look on some common types of Listeners:


1: Aggregate Graphs:
Aggregate graphs allow us to generate bar graphs easily and let us select graph display settings. The generated graph and table data
can be saved explicitly in the form of PNG and CSV.

1. Sample Result Save Configuration


2. Settings for the aggregated graph (as you can see in the below figure)
3. Graphical Representation
Aggregate Graph Settings Screen:

2: Aggregate Report
Aggregate report shows a separate table row for each differently named sampler request in the test.

3: Assertion Results:
Assertion Results displays the results of assertions applied on the Sampler. You can see in the below figure, if any assertion fails it will
look like this.

Please Note that Assertion Results SHOULD NOT BE USED during Load/Stress test as it consumes a lot of resources like memory and
CPU. It is recommended to use it with functional testing or debugging purposes.

4: View Results In Table:


View Results in table creates and displays a row for every sample/request result separately.
Please Note that View Results In Table SHOULD NOT BE USED during Load/Stress test as it consumes a lot of resources like memory
and CPU. It is recommended to use it with functional testing or debugging purposes.

5: View Results Tree:


View Results Tree displays a tree consists of all the Sampler responses along with their requests.

Please Note that View Results Tree SHOULD NOT BE USED during Load/Stress test as it consumes a lot of resources like memory
and CPU. It is recommended to use it with functional testing or debugging purposes.

1. Select desired response format view from available options in dropdown like Text, RegExp Tester, CSS/JQuery Tester, XPath
Tester, HTML, HTML (download resources), Document, JSON
2. Select tab Sampler result, Request and Response data

For more updates on JMeter Tutorial, please Subscribe to our Newsletter.



Please ask any questions on ForumsQA, in case of any issues or doubts.

JMeter
Share this post

About the author

Rida Sattar

My name is Rida Sattar. As a technical-savvy, I have more than 3 years of experience in Software testing and Selenium automation.
Currently I am working as a Senior QA Automation Engineer for an IT company in Karachi, Pakistan. I always love to put myself in new
challenges and break software from different angles. I have passion for automation and performance testing. I always try to share my
ideas and knowledge with the community because I believe in this quote: “Knowledge has no value unless you use and share it.”

Related posts

Test Plan Elements


September 24, 2018

Getting Familiar with JMeter GUI


July 19, 2018

How to Install JMeter?


July 4, 2018

How to Install Java on Mac OS?


July 4, 2018

Introduction to JMeter
June 21, 2018

Logic Controller
November 6, 2016
SUBSCRIBE TO NEWSLETTER

Enter your email address:

Subscribe

GOT SELENIUM PROBLEMS ?

RECENT POST

What is TestNG?

WebDriverManager

Test Plan Elements

Generate Newman Reports on Jenkins

Run Postman Collection on Jenkins

Getting Started with Cucumber BDD for Testing in Agile Teams

Using XPath Generator for test recording in Katalon Studio

Configure Jenkins Job to Run Batch Command

Postman with Newman & Jenkins

API Testing with Postman

Install Jenkins

SQL Table Commands

Newman Optional Parameters & Configurations

Trees

Queuing for Beginners


Got a Question?

Subscribe in a reader

Site Links

Selenium Training
Corporate Training
Video Tutorials
About Us
Guest Blogs
Testimonials
Contact Us
SITEMAP

Tutorials

Software Testing

Selenium - Java

Selenium - C#

Cucumber

SpecFlow

Appium

TestNg

JUnit

Maven

Java

Postman

Katalon

Author

I’M LAKSHAY SHARMA AND I’M A TEST AUTOMATION ENGINEER.

Have passed 11 years playing with automation in mammoth projects like O2 (UK), Sprint (US), TD Bank (CA), Canadian Tire
(CA), NHS (UK) & ASOS(UK).
Currently I am working with BLOOMREACH as SDET.

I am passionate about designing Automation Frameworks that are effective and easy to maintain. For automating websites my
weapons are QTP and Selenium (Webdriver). I live in Amsterdam(NL), with my wife and a lovely daughter.

Please connect with me at LinkedIn or follow me on Instagram.


© 2013-2018 TOOLSQA.COM | ALL RIGHTS RESERVED

You might also like