Book Image

JMeter Cookbook

By : Bayo Erinle
Book Image

JMeter Cookbook

By: Bayo Erinle

Overview of this book

Table of Contents (16 chapters)
JMeter Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Using Console Status Logger


When executing JMeter tests (especially in non-GUI mode), it is helpful to get feedback on the terminal window regarding the progress and results of the tests. That is the main goal of the Console Status Logger component. This listener plugin prints short summary logs to the console while JMeter is running in non-GUI mode. In addition, the same info is written to the jmeter.log file when running in GUI mode.

How to do it…

In this recipe, we will use Console Status Logger to run a test in non-GUI mode. Perform the following steps:

  1. Download the standard set of plugins from http://jmeter-plugins.org/.

  2. Install the plugins by doing the following:

    • Extract the ZIP archive to the location of your choice

    • Copy the JAR file contained in lib/ext folder of the extract location to $JMETER_HOME/lib/ext directory

    • Copy all the JAR files from the lib directory of the extracted location to the $JMETER_HOME/lib directory

  3. Launch JMeter.

  4. Open the ch6_console_status_log.jmx file bundled with...