万本电子书0元读

万本电子书0元读

顶部广告

Performance Testing with JMeter 3 - Third Edition电子书

售       价:¥

24人正在读 | 0人评论 9.8

作       者:Bayo Erinle

出  版  社:Packt Publishing

出版时间:2017-07-21

字       数:19.1万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
A practical guide to help you undertand the ability of Apache jMeter to load and performance test various server types in a more efficient way. About This Book ? Use jMeter to create and run tests to improve the performance of your webpages and applications ? Learn to build a test plan for your websites and analyze the results ? Unleash the power of various features and changes introduced in Apache jMeter 3.0 Who This Book Is For This book is for software professionals who want to understand and improve the performance of their applications with Apache jMeter. What You Will Learn ? See why performance testing is necessary and learn how to set up JMeter ? Record and test with JMeter ? Handle various form inputs in JMeter and parse results during testing ? Manage user sessions in web applications in the context of a JMeter test ? Monitor JMeter results in real time ? Perform distributed testing with JMeter ? Get acquainted with helpful tips and best practices for working with JMeter In Detail JMeter is a Java application designed to load and test performance for web application. JMeter extends to improve the functioning of various other static and dynamic resources. This book is a great starting point to learn about JMeter. It covers the new features introduced with JMeter 3 and enables you to dive deep into the new techniques needed for measuring your website performance. The book starts with the basics of performance testing and guides you through recording your first test scenario, before diving deeper into JMeter. You will also learn how to configure JMeter and browsers to help record test plans. Moving on, you will learn how to capture form submission in JMeter, dive into managing sessions with JMeter and see how to leverage some of the components provided by JMeter to handle web application HTTP sessions. You will also learn how JMeter can help monitor tests in real-time. Further, you will go in depth into distributed testing and see how to leverage the capabilities of JMeter to accomplish this. You will get acquainted with some tips and best practices with regard to performance testing. By the end of the book, you will have learned how to take full advantage of the real power behind Apache JMeter. Style and approach The book is a practical guide starting with introducing the readers to the importance of automated testing. It will then be a beginner’s journey from getting introduced to Apache jMeter to an in-detail discussion of more advanced features and possibilities with it.
目录展开

Title Page

Third Edition

Copyright

Performance Testing with JMeter 3

Third Edition

Credits

About the Author

Acknowledgments

About the Reviewers

www.PacktPub.com

Why subscribe?

Customer Feedback

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

Errata

Piracy

Questions

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 up JAVA_HOME

On Windows

On Unix

Running JMeter

Command-line options

JMeter's classpath

Configuring a proxy server

Running in non-GUI mode

Running in server mode

Overriding properties

Tracking errors during test execution

Configuring JMeter

Summary

Recording Your First Test

Configuring the JMeter HTTP(S) Test Script Recorder

Setting up your browser to use the proxy server

Using a browser extension

Changing the machine system settings

Running your first recorded scenario

Excilys bank case study

Parameterizing the script

Extracting information during test run

Anatomy of a JMeter test

Test plan

Thread groups

Controllers

Samplers

Logic controllers

Test fragments

Listeners

Timers

Assertions

Configuration elements

Preprocessor and Postprocessor elements

Summary

Submitting Forms

Capturing simple forms

Handling checkboxes

Handling radio buttons

Handling file uploads

Handling file downloads

Posting JSON data

Reading JSON data

Using JSR223 PostProcessor

Handling XML responses

Summary

Managing Sessions

Managing sessions with cookies

Managing sessions with URL rewriting

Summary

Monitoring Tests in Real-Time

Setting up InfluxDB

Setting up Grafana

Creating an InfluxDB database for our test plan

Connecting Grafana to the database

Putting it all together

Importing the Grafana dashboard

Summary

Distributed Testing

Remote testing with JMeter

Configuring JMeter slave nodes

Configuring one slave per machine

Configuring the master node

Configuring multiple slave nodes on a single box

Configuring the master node

Leveraging the cloud for distributed testing

Obtaining your access key, secret key, and key pair

Launching the AWS instance

Executing the test plan

Viewing the results from the virtual machines

Using cloud services

Using Flood.io

Using BlazeMeter

Summary

Helpful Tips - Part 1

Dummy Sampler

Debug Sampler

JDBC Request Sampler

Setting up the H2 database

Configuring a JDBC Connection Configuration component

Adding a JDBC Request Sampler

Using a MongoDB Sampler

Summary

Helpful Tips - Part 2

JMeter properties and variables

JMeter functions

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 Regular Expression tester

The JSON Path Extractor element

Handling RESTful web services

Working with the reporting dashboard

Summary

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部