售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Performance Testing with JMeter 2.9
Table of Contents
Performance Testing with JMeter 2.9
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Performance Testing Fundamentals
The incident
The aftermath
Performance testing
Performance testing and tuning
Baselines
Load and stress testing
JMeter to the rescue
Up and running with JMeter
Installation
Installing Java JDK
Setting JAVA_HOME
On Windows
On Unix
Running JMeter
Command-line options
JMeter's Classpath
Configuring the proxy server
Running in non-GUI mode
Running in server mode
Overriding properties
Tracking errors during test execution
Configuring JMeter
Summary
2. Recording Your First Test
Configuring the JMeter HTTP proxy server
Setting up your browser to use the proxy server
Using a browser extension
Changing the system settings
Running your first recorded scenario
Anatomy of a JMeter test
Test Plan
Thread Groups
Controllers
Samplers
Logic controllers
Test fragments
Listeners
Timers
Assertions
Configuration elements
Pre-processor and post-processor elements
Summary
3. Submitting Forms
Capturing simple forms
Handling checkboxes
Handling radio buttons
Handling file uploads
Handling file downloads
Posting JSON data
Reading JSON data
Using the BSF PostProcessor
Handling the XML response
Summary
4. Managing Sessions
Managing sessions with cookies
Managing sessions with URL rewriting
Summary
5. Resource Monitoring
Basic server monitoring
Setting up Apache Tomcat Server
Configuring Tomcat users
Setting up a monitor controller in JMeter
Monitoring the server with a JMeter plugin
Installing the plugins
Adding monitor listeners to the test plan
Summary
6. Distributed Testing
Remote testing with JMeter
Configuring JMeter slave nodes
Configuring one slave per machine
Configuring the master node to be tested against one slave per machine
Configuring multiple slave nodes on a single box
Configuring the master node to be tested against multiple slave nodes on a single box
Leveraging the cloud for distributed testing
Obtaining your access key, secret key, and key pair
Launching an AWS instance
Executing the test plan
Viewing the results from the virtual machines
Summary
7. Helpful Tips
JMeter properties and variables
JMeter functions
The Regular Expression tester
The Debug sampler
Using timers in your test plan
The Constant timer
The Gaussian random timer
The Uniform random timer
The Constant throughput timer
The Synchronizing timer
The Poisson random timer
The JDBC Request sampler
Setting up an H2 database
Configuring a JDBC Connection Configuration component
Adding a JDBC Request sampler
A Dummy sampler
The JSON Path Extractor element
Handling RESTful web services
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜