Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
JMeter Cookbook

You're reading from   JMeter Cookbook 70 insightful and practical recipes to help you successfully use Apache JMeter

Arrow left icon
Product type Paperback
Published in Oct 2014
Publisher
ISBN-13 9781783988280
Length 228 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Bayo Erinle Bayo Erinle
Author Profile Icon Bayo Erinle
Bayo Erinle
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. JMeter Fundamentals FREE CHAPTER 2. Handling Responses 3. Building Robust Test Plans with Controllers 4. Testing Services 5. Diving into Distributed Testing 6. Extending JMeter 7. Building, Debugging, and Analyzing the Results of Test Plans 8. Beyond the Basics A. Installing the Supporting Software Needed for this Book 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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime