Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
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
 Erinle Erinle
Author Profile Icon Erinle
Erinle
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

JMeter Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
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 Installing the Supporting Software Needed for this Book Index

Index

A

  • Aggregate Report listener
    • using / Using the Aggregate Report listener, How it works…
  • AJAX (Asynchronous JavaScript and XML) / How it works…
  • AJAX-centric applications
    • testing / Testing AJAX-centric applications, How it works…
  • Apache ActiveMQ
    • reference link / How to do it…
    • download link / How to do it…
    • about / How it works…
    • features / How it works…
  • API documentation, JSoup selector
    • URL / Using CSS/jQuery Extractor
  • applications
    • testing, with JMeter master-slave setup / Testing applications with JMeter's master-slave setup, How to do it…
  • AWS
    • about / Testing external facing applications using JMeter, Vagrant, and AWS
    • URL / Testing external facing applications using JMeter, Vagrant, and AWS
  • AWS access keys
    • obtaining / Obtaining AWS keys for EC2

B

  • BlazeMeter
    • URL / Testing external facing applications using BlazeMeter
    • used, for testing external facing applications / Testing external facing applications using BlazeMeter, How to do it…, How it works…

C

  • Chrome browser extension
    • used, for recording script / Recording scripts via the Chrome browser extension, How to do it…, How it works…
  • comma-separated values (CSV) / Feeding data into a script
  • Console Status Logger
    • using / Using Console Status Logger, How to do it…, How it works…
  • Constant Throughput Timer
    • using / Using Constant Throughput Timer, How it works…
  • Continuous Integration (CI)
    • JMeter, integrating with / Continuous Integration with JMeter, How to do it…, How it works…, There's more…
  • Cross-Site Request Forger (CSRF) / How it works…
  • CSS/jQuery Extractor
    • using / Using CSS/jQuery Extractor, How to do it…
  • CSV dataset config
    • configuring / How it works…
  • custom JMeter plugins
    • developing / Developing custom JMeter plugins, How to do it…, How it works…
  • Cyberduck
    • URL / How to do it…

D

  • data
    • feeding, into script / Feeding data into a script, How it works…, There's more…
  • Debug Sampler
    • debugging with / Debugging with Debug Sampler, How to do it…, How it works…
    • about / Debugging with Debug Sampler
  • distributed testing
    • about / Introduction
  • Drone.IO
    • URL / There's more…
  • Dropbox
    • URL / How to do it…
  • Dummy Sampler
    • using / Using Dummy Sampler, How to do it…, How it works…
  • Duration Assertion
    • using / Using Duration Assertion, How it works…

E

  • external facing applications
    • testing, JMeter, Vagrant, and AWS used / Testing external facing applications using JMeter, Vagrant, and AWS, How to do it…, How it works…
    • testing, Flood.IO used / Testing external facing applications using Flood.IO, How to do it…, How it works…, There's more…
    • testing, BlazeMeter used / Testing external facing applications using BlazeMeter, How to do it…, How it works…

F

  • file downloads
    • dealing with / Dealing with file downloads, How to do it…, There's more…
  • files
    • uploading, with scripts / Uploading files with your scripts, There's more…
  • File Transfer Protocol (FTP)
    • about / Testing FTP services
  • Firefox
    • Firepath Plugin / There's more…
  • Flood.IO
    • used, for testing external facing applications / Testing external facing applications using Flood.IO, How to do it…, How it works…, There's more…
    • URL / Testing external facing applications using Flood.IO, There's more…
  • ForEach Controllers
    • URL / See also
    • leveraging, in test plans / Leveraging ForEach Controller in test plans, How to do it…, How it works…
    • about / There's more…
  • FoxyProxy
    • about / There's more…
    • URL / There's more…
  • FTP services
    • testing / Testing FTP services, How to do it…, How it works…

G

  • Git
    • installing / Installing Git
    • download link / Installing Git
  • Google Chrome
    • XPath Helper / There's more…
  • Google Chrome browser
    • download link / How to do it…
  • Gradle
    • URL / How it works…
  • graphical user interface (GUI) / Testing relational databases
  • Groovy
    • URL / How to do it…
  • groovy
    • URL / How to do it…
  • groovy-all JAR (java archive)
    • download link / How to do it…
  • groovy-all JAR file
    • URL, for downloading / How to do it…
  • Groovy script file
    • download link / How to do it…
  • groovy script file
    • download link / How to do it…
  • Groovy Server Pages (GSP) / There's more...

H

  • H2 database
    • setting up / How to do it…
    • download link / How to do it…
  • Har2jmeter / There's more…
  • Heroku
    • URL / How to do it…
  • Heroku dashboard
    • URL / How to do it…
  • Heroku toolbelt
    • installing / How to do it…
  • HTML responses
    • handling / Handling HTML responses, How to do it…, How it works…
  • HTTP(S) Test Script Recorder
    • used, for recording script / Recording a script via HTTP(S) Test Script Recorder, How to do it…, How it works…
    • about / Changing the machine system settings
  • HTTP Cache Manager component
    • using / Using the HTTP Cache Manager component, How to do it…
    • working / How it works…
  • HTTP Header Properties / There's more…
  • HTTP user sessions
    • managing / Managing HTTP user sessions, How to do it…, There's more…
  • HTTP web archives (HAR)
    • converting, to JMeter test plans / Converting HTTP web archives (HAR) to JMeter test plans, How to do it…, There's more…

I

  • installation
    • JMeter / Installing JMeter
    • Java Development Kit (JDK) / Installing Java Development Kit (JDK)
    • JMeter plugins / Installing JMeter plugins
    • Vagrant / Installing Vagrant
    • VirtualBox / Installing VirtualBox
    • Maven / Installing Maven
    • Git / Installing Git
  • Integrated Development Environment (IDE) / Writing Test scripts through Ruby DSL
  • Interleave Controllers
    • using, in test plans / Using Interleave and Random Controller in test plans, How to do it…, How it works…
    • about / There's more…
  • internal applications
    • testing, JMeter and Vagrant used / Testing internal applications using JMeter and Vagrant, How to do it…, How it works…

J

  • (Java Development Kit) JDK
    • installing / Installing Java Development Kit (JDK)
    • download link / Installing Java Development Kit (JDK)
  • Java Archives (JARs)
    • about / Introduction
  • Java Runtime Environment (JRE) / How to do it…
  • Java Server Pages (JSP) / There's more...
  • Java Visual Machine (JVM) / How it works…
  • Jenkins WAR application
    • download link / How to do it…
  • JMeter
    • URL, for source code / See also
    • integrating, with Continuous Integration / Continuous Integration with JMeter, How to do it…, How it works…, There's more…
    • performance tips / Performance tips to scale JMeter, How to do it…
    • installing / Installing JMeter
    • download link / Installing JMeter
    • one line installation / One line install
  • JMeter, Vagrant, and AWS
    • used, for testing external facing applications / Testing external facing applications using JMeter, Vagrant, and AWS, How to do it…, How it works…
  • JMeter-plugins extension
    • URL / See also
  • JMeter and Vagrant
    • used, for testing internal applications / Testing internal applications using JMeter and Vagrant, How to do it…
  • JMeter context
    • URL / How it works…
  • JMeter DSL gem / How it works…
  • JMeter official source code
    • URL / There's more…
  • JMeter plugin
    • download link / How to do it…
  • JMeter plugins
    • installing / Installing JMeter plugins
    • download link / Installing JMeter plugins
    • one line install / One line install
  • JMeter properties
    • about / Understanding JMeter properties
    • system.properties / Understanding JMeter properties
    • user.properties / Understanding JMeter properties
    • using / How to do it…, How it works…
  • JMeter SSH Sampler plugin
    • installing / How to do it…
  • JMeter test plans
    • HTTP web archives (HAR), converting to / Converting HTTP web archives (HAR) to JMeter test plans, How to do it…
  • JMeter variables
    • URL / How it works…
  • JMeter WebSocket Sampler component
    • URL, for downloading / How to do it…
    • URL, for downloading bundled ZIP / How to do it…
    • URL, for dependencies / How to do it…
  • JMS services
    • testing / Testing JMS services, How to do it…
    • about / There's more…
    • reference links / See also
  • JSCH JAR file
    • download link / How to do it…
  • JSCH library
    • URL / How it works…
  • JSON (JavaScript Object Notation) / How it works…
    • about / Handling JSON responses
    • resources for learning / There's more…
  • JSONPathExtractor plugin
    • URL / There's more…
  • JSON responses
    • handling / Handling JSON responses, How to do it…, How it works…
  • JSoup
    • URL / Using CSS/jQuery Extractor
  • JSR223 postprocessor
    • using / Using the JSR223 postprocessor, How to do it…, How it works…

L

  • Loop Controllers
    • using, in test plans / Using Loop Controller in test plans, How to do it…, How it works…
    • about / There's more…

M

  • machine system settings
    • changing / Changing the machine system settings
  • master-slave setup
    • used, for testing applications / Testing applications with JMeter's master-slave setup, How to do it…
    • architecture / How to do it…
    • working / How it works…
  • Maven
    • installing / Installing Maven
    • download link / Installing Maven
  • MongoDB
    • installing / How to do it…
  • MongoDB operations
    • reference link / There's more…

N

  • network bandwidths
    • testing with / Testing with different bandwidths, How to do it…, How it works…
  • New Relic
    • used, for monitoring servers / Monitoring servers while executing tests (using New Relic), How to do it…, How it works…
    • URL / Monitoring servers while executing tests (using New Relic), There's more...
    • about / Monitoring servers while executing tests (using New Relic)
    • URL, for documentation / How to do it…
  • NoSQL databases
    • testing / Testing NoSQL databases, How to do it…

P

  • performance tips, JMeter
    • about / Performance tips to scale JMeter, How to do it…
  • properties, CSV dataset config
    • Variable Names / There's more…
    • Delimeter / There's more…
    • Allow Quoted Data / There's more…
    • Recycle on EOF / There's more…
    • Stop thread on EOF / There's more…
    • Sharing mode / There's more…

R

  • Random Controllers
    • using, in test plans / Using Interleave and Random Controller in test plans, How to do it…, How it works…
    • about / There's more…
  • Regular Expression Extractor
    • using / Using Regular Expression Extractor, How to do it…, How it works…
  • regular expressions
    • reference link / Using Regular Expression Extractor
  • Regular Expression Tester
    • using / Using Regular Expression Tester, How to do it…
    • working / How it works…
  • relational databases
    • testing / Testing relational databases, How to do it…, How it works…, There's more…
  • remote method invocation (RMI) / How it works…
  • Remote Procedure Calls (RPC) / Testing REST web services
  • Representational State Transfer (REST) / Testing REST web services
    • reference link / See also
  • request per second (RPS) / How it works…
  • Response Assertion
    • using / Using Response Assertion, How to do it…, How it works…
  • responses, Dummy Sampler / There's more…
  • Response Times Over Time listener
    • analyzing / Analyzing Response Times Over Time, How to do it…, How it works…
  • REST Sampler
    • using / How to do it…, How it works…
  • REST web services
    • testing / Testing REST web services, How to do it…, How it works…, There's more…
  • Robomongo
    • URL / See also
  • Ruby DSL
    • used, for writing test scripts / Writing Test scripts through Ruby DSL, How to do it…, How it works…
  • Runtime Controllers
    • using, in test plans / Using Runtime Controller in test plans, How to do it…, How it works…
    • about / There's more…

S

  • script languages
    • using, within test plans / Using script languages within test plans, How to do it…, How it works…
  • scripts
    • recording, via HTTP(S) Test Script Recorder / Recording a script via HTTP(S) Test Script Recorder, How to do it…, How it works…
    • recording, via Chrome browser extension / Recording scripts via the Chrome browser extension, How to do it…, How it works…, There's more…
    • data, feeding into / Feeding data into a script, How to do it…, How it works…, There's more…
  • Secure File Transfer Protocol (SFTP) / How it works…
  • Secure Shell (SSH)
    • about / Testing FTP services
  • servers
    • monitoring, VisualVM used / Monitoring servers while executing tests (using VisualVM), How to do it…, How it works…, There's more…
    • monitoring, YourKit Profiler used / Monitoring servers while executing tests (using YourKit Profiler), How to do it…, How it works…, There's more…
    • monitoring, New Relic used / Monitoring servers while executing tests (using New Relic), How to do it…, How it works…
  • SFTP
    • about / Testing FTP services
  • Simple Object Access Protocol (SOAP) / Testing REST web services
  • SOAP
    • about / Testing SOAP web services
    • reference link / See also
  • SOAP UI
    • URL / There's more…
    • about / There's more…
  • SOAP web services
    • testing / Testing SOAP web services, How to do it…, How it works…, There's more…
  • socket.io
    • about / There's more…
    • URL, for sample application / There's more…
    • URL / See also
  • SPAs
    • testing / Testing Single Page Applications (SPAs), There's more…
  • SQL comparison
    • reference link / There's more…
  • SSH sampler plugin
    • URL / There's more…
  • Stepping Thread Group
    • about / See also
    • URL / See also

T

  • testing
    • REST web services / Testing REST web services, How to do it…, How it works…, There's more…
    • SOAP web services / Testing SOAP web services, How to do it…, How it works…, There's more…
    • FTP services / Testing FTP services, How to do it…, How it works…
    • relational databases / Testing relational databases, How to do it…, There's more…
    • NoSQL databases / Testing NoSQL databases, How to do it…
    • JMS services / Testing JMS services, How to do it…
  • test plans
    • Transaction Controllers, using / Using Transaction Controller in test plans, How to do it…, How it works…
    • Loop Controllers, using / Using Loop Controller in test plans, How to do it…, How it works…
    • ForEach Controllers, leveraging / Leveraging ForEach Controller in test plans, How to do it…, How it works…
    • Random Controllers, using / Using Interleave and Random Controller in test plans, How to do it…, How it works…
    • Interleave Controllers, using / Using Interleave and Random Controller in test plans, How to do it…, How it works…
    • Runtime Controllers, using / Using Runtime Controller in test plans, How to do it…, How it works…
    • script languages, using within / Using script languages within test plans, How to do it…, How it works…
  • test results
    • viewing / Viewing and analyzing test results, How to do it…, How it works…
    • analyzing / Viewing and analyzing test results, How to do it…, How it works…
  • test script
    • executing / Executing a test script, How to do it…, How it works…, There's more…
    • running, in non-GUI mode / An example of running in non-GUI mode
  • test scripts
    • writing, through Ruby DSL / Writing Test scripts through Ruby DSL, How to do it…, How it works…
  • think time
    • about / Using timers
  • Throughput Shaping Timer
    • using / Using Throughput Shaping Timer, How to do it…, How it works…
  • Throughput Shaping Timer
    • URL, for documentation / See also
  • timers
    • using / Using timers, How it works…
  • Tomcat
    • download link / How to do it…
  • Transaction Controllers
    • using, in test plans / Using Transaction Controller in test plans, How to do it…, How it works…
    • about / There's more…
  • Transactions Per Second (TPS) / Analyzing transactions per second
  • transactions per second (TPS) / How it works…
  • Transactions Per Second listener
    • analyzing / Analyzing transactions per second, How to do it…
  • Travis CI
    • URL / There's more…

U

  • UDVs
    • using / Using User Defined Variables (UDV), How to do it…, How it works…
  • Ultimate Thread Group
    • using / Using Ultimate Thread Group, How to do it…, How it works…

V

  • Vagrant
    • about / Testing internal applications using JMeter and Vagrant
    • URL / Testing internal applications using JMeter and Vagrant
    • installing / Installing Vagrant
    • download link / Installing Vagrant
  • version control system (VCS) / Continuous Integration with JMeter
  • View Results in Tree listener
    • using / Using the View Results Tree listener, How to do it…
  • VirtualBox
    • installing / Installing VirtualBox
    • download link / Installing VirtualBox
  • VisualVM
    • used, for monitoring servers / Monitoring servers while executing tests (using VisualVM), How to do it…, How it works…, There's more…

W

  • weather service
    • testing / How it works…
  • web services definition language (WSDL) file / How it works…
  • WebSocket
    • URL / See also
  • WebSocket-enabled applications
    • testing / Testing WebSocket-enabled applications, How to do it…, How it works…
  • While Controller
    • URL / There's more…

X

  • XML responses
    • handling / Handling XML responses, How to do it…, How it works…
  • XmlSlurper
    • URL / How it works…
  • XPath Extractor
    • using / Using XPath Extractor, How to do it…
  • XPath queries / There's more…
  • XPath syntax
    • reference link / There's more…

Y

  • YourKit Profiler
    • used, for monitoring servers / Monitoring servers while executing tests (using YourKit Profiler), How to do it…, How it works…, There's more…
    • URL / How to do it…, There's more…
    • about / There's more…
lock icon The rest of the chapter is locked
arrow left Previous Section
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 $15.99/month. Cancel anytime
Visually different images