Adding listeners
The above is basically everything you need as a minimum
setup of an HTTP request suite.
However, in order for you to view the results and statistics
of the test, you need to add Listeners. There are several types of
listeners such as view results tree, summary report, graph results
etc.
-
Summary Report: you can
easily get the performance matrices of each request, such as
the number of samples processed, the average response time,
throughput, error rate etc. -
View Results Tree: you
can see all the details related to the request as well as HTTP
headers, body size, response code etc. In case any request
failed, you can get useful information from this listener for
troubleshooting a specific error. -
Graph Results: you can
see a graphical representation of the throughput vs. the
deviation of the tests. -
There are a couple more listeners which you can take
some time to explore.
You can add one or more listeners according to your
needs.
To add a listener, right click on the thread group, select
Add > Listener, and then choose the
listener.
