Pro Apache JMeter, 1st ed.
Web Application Performance Testing

Authors:

Language: English
Cover of the book Pro Apache JMeter

Subject for Pro Apache JMeter

68.56 €

In Print (Delivery period: 15 days).

Add to cartAdd to cart
Publication date:
Support: Print on demand

Quickly ramp up your practical knowledge of Apache JMeter for software performance testing and focus on actual business problems. This step-by-step guide covers what you will need to know to write and execute test scripts, and verify the results.

Pro Apache JMeter covers almost every aspect of Apache JMeter in detail and includes helpful screenshots and a case study. A performance primer chapter provides a high-level summary of terms used in performance testing on a day-to-day basis that also is useful for non-technical readers.

A sample web application Digital Toys has been developed and test scripts are provided for you to try while progressing through the chapters.

What You'll Learn

  • Create and execute an Apache JMeter test plan
  • Interpret the results of your test plan
  • Understand distributed testing using Apache JMeter
  • Use Apache JMeter advanced features such as JDBC, REST, FTP, AJAX, SOAP, and mobile performance testing
  • Read a sample case study covering end-to-end planning and execution of a performance testing project
  • Generate and analyze a performance dashboard

Who This Book Is For

Software performance testing professionals, quality assurance professionals, architects, engineers, project managers, product managers


Chapter 1: Foundation
Chapter Goal: Introduction to performance testing, why performance testing? Why JMeter is the right choice? Author’s information.
No. of Pages: 4 (Page no. 2 – 5)
Sub Topics:
1. Why Performance Testing?
2. Why JMeter? 
3. Intended Readers
4. Companion Web Site

Chapter 2: Performance Testing Primer
Chapter Goal: Basic terms of performance testing, types of performance tests, performance test environment and performance testing strategy.
No. of Pages: 15 (Page no. 6 – 20)
Sub Topics:
1. Performance Testing
2. Performance Criteria
3. Types of Performance Tests
4. Performance Test Environment
5. Performance Testing Strategy
Chapter 3 : Your First JMeter Test
Chapter Goal: Components of a JMeter test, writing first JMeter test script, execution and review of results. Stop and start JMeter test execution using different modes (GUI/non-GUI).
No. of Pages: 16 (Page no 21 – 36)
Sub Topics:
1. Components of a JMeter Test
2. Order of Component Execution
3. Simple JMeter Test
4. GUI Mode
5. non-GUI Mode

Chapter 4: JMeter Test Script Recorder
Chapter Goal: Configuring JMeter as a proxy, recording test scripts via browser actions. 
No. of Pages: 10 (Page no 37 – 46)
Sub Topics:
1. JMeter WorkBench
2. JMeter Recording Controller
3. Browser Proxy Settings
4. Recording Example

Chapter 5: Test Plan
Chapter Goal: Step by step description and usage of JMeter components. Covers Test Plan, Thread Group, Pre-Processor, Controllers, Timers, Samplers, Assertions, Listeners, Post Processors, Properties and Variables.
No. of Pages: 179 (Page no 47 – 226)



Chapter 6: Distributed Testing
Chapter Goal: Distributed testing by spreading/generating load across multiple machines, configuring remote hosts and verification on remote hosts for successful test runs. Understanding limitations of distributed testing.
No. of Pages: 18 (227 – 245)
Sub Topics:
1. Distributed Testing Using JMeter
2. Prerequisites
3. Configuration
4. Running the Test
5. GUI Mode
6. Non GUI Mode
7. RMI Port
8. Sample Sender Mode
9. Unreachable Remote Hosts
10. Limitations

Chapter 7: JMeter Best Practices
Chapter Goal: JMeter best practices which will help in keeping JMeter test scripts portable and ensure accurate results.
No. of Pages: 20 (246 – 266)
Sub Topics: 
1. HTTP Request Defaults2. Follow Redirects
3. Cookie Manager
4. Cache Manager
5. JMeter Using Maven
6. Passing Variables Across Thread Groups
7. Running Parallel Thread Group
8. Using External File For Parameterizing User Login
9. Customizing Properties
10. Monitor JMeter Resource Usage


Chapter 8: Trouble Shooting JMeter
Chapter Goal: Troubleshoot various common errors while working with JMeter test scripts.
No. of Pages: 20 (266 – 286)
Sub Topics: 
1. Ensure Permissions
2. Log File
3. Log Level
4. HTTP Protocol Logs
5. GUI Logs
6. Clear GUI Logs
7. Remote Host Exception
8. Connect Exception
9. Solving Proxy Servers Problems
10. HTTP Basic Authentication
11. Using HTTP Header Manager
12. Using HTTP Authorization Manager
13. Debug Test Faster14. Out Of Memory Error

Chapter 9: JMeter Plugins
Chapter Goal: Usage of JMeter plugins while performing test execution.
No. of Pages: 10 (287 – 297)
Sub Topics:
1. PerfMon

Chapter 10: JMeter Recipes
Chapter Goal: Advanced JMeter concepts like JDBC, FTP and REST performance testing using respective Samplers. Including AJAX request.
No. of Pages: 30 (298 – 327)
Sub Topics:
1. JDBC Performance Testing
2. FTP Performance Testing
3. REST/JSON Performance Testing
5. AJAX Performance Testing
2. Mobile Performance Testing
3. SOAP Performance Testing

Chapter 11: Case Study - Digital Toys Inc.
Chapter Goal: Case Study – Performance Testing project of Digital Toys Inc. Helps user quickly jump start on hands on learning and doing performance testing.
No. of Pages: 78 (328 – 406)
Sub Topics:
1. The Need for Speed
2. Addressing the Problem
3. Using JMeter
4. Organizing Tests
5. Combining Multiple Tests
6. Questions
7. Using Distributed Environment
8. Performance Testing And Tuning Cycle
9. Outcome

Chapter 12: Performance Dashboard
Chapter Goal: JMeter 3.0 introduces Performance Dashboard, this has been described in this chapter, reader will understand how to configure and read performance dashboard.
No. of Pages: 16 (407 – 422)
Sub Topics:
1. APDEX
2. Configuration
3. Generating Graphs
4. Performance Dashboard Graphs

Appendix A: Setting Up JMeter
Goal: Installation of JMeter on various OS
No. of Pages: 13 (423 – 435)
Sub Topics:
1. Mac OS X
2. Windows
3. Linux

<
Appendix B: Setting Up Digital Toys Inc.

Sai Matam has 20+ years of diverse experience in software development, including significant experience in performance testing and tuning. He has worked on tuning Java and web applications with many millions of page visits.

Jagdeep Jain has more than a decade of experience in software quality assurance and testing. He holds a degree in Computer Science & Engineering. He is a firm believer and advocate of test automation, and has used Apache JMeter extensively.

The first book to cover Apache JMeter 3.0 with a case study and sample web application

Takes a step-by-step approach through examples and includes results that are explained

Provides a sample web application and test scripts

Includes a case study of a real-world performance testing project